aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/SkPictureRecord.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/SkPictureRecord.cpp b/src/core/SkPictureRecord.cpp
index 9c488491f6..73a3ab549a 100644
--- a/src/core/SkPictureRecord.cpp
+++ b/src/core/SkPictureRecord.cpp
@@ -162,6 +162,13 @@ static inline uint32_t getSkipableSize(unsigned drawType) {
* the restore() call. If we still need the restore(), return false.
*/
static bool collapseSaveClipRestore(SkWriter32* writer, int32_t offset) {
+ // Some unexplained crashes in Chrome may be caused by this. Disabling
+ // for now to see if it helps.
+ // crbug.com/147406
+#if 1
+ return false;
+#endif
+
#ifdef TRACK_COLLAPSE_STATS
gCollapseCalls += 1;
#endif