aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPictureRecord.cpp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-11-26 16:47:10 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-11-26 16:47:10 +0000
commit5f0add3ad6e1d6129307276c81ba6624f92ca112 (patch)
tree76a77c8a3eeb431c83035994b33ea30f9cddf403 /src/core/SkPictureRecord.cpp
parent53007a2b1724c15c170340658daac012f9d909be (diff)
remove legacy build-guards, now that webkit has rebaselined these.
SK_DISABLE_FAST_AA_STROKE_RECT SK_IGNORE_FAST_BLURRECT SK_DISABLE_EXTRACTSUBSET_OPAQUE_FIX SK_IGNORE_CF_OPTIMIZATION SK_IGNORE_NEW_STROKERECT SK_DISABLE_GPU_BLUR SK_IGNORE_ROTATED_FREETYPE_FIX The changes should all be: remove code for #ifdef remove guard for #ifndef Review URL: https://codereview.appspot.com/6858073 git-svn-id: http://skia.googlecode.com/svn/trunk@6546 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkPictureRecord.cpp')
-rw-r--r--src/core/SkPictureRecord.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/SkPictureRecord.cpp b/src/core/SkPictureRecord.cpp
index 96467387b7..d6f51e357e 100644
--- a/src/core/SkPictureRecord.cpp
+++ b/src/core/SkPictureRecord.cpp
@@ -160,13 +160,6 @@ 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
-#ifdef SK_DISABLE_PICTURE_PEEPHOLE_OPTIMIZATION
- return false;
-#endif
-
#ifdef TRACK_COLLAPSE_STATS
gCollapseCalls += 1;
#endif