summaryrefslogtreecommitdiffstats
path: root/skia/skia.gyp
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-04 19:03:43 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-04 19:03:43 +0000
commit7493c01516ae767782d9a6414114c8bf9e4035bb (patch)
treebef2222377326d68996eb1c397afcb35e37f64ca /skia/skia.gyp
parent1bd2bd1dfebae7cce9b1dd7883a9a6aae5e22844 (diff)
downloadchromium_src-7493c01516ae767782d9a6414114c8bf9e4035bb.zip
chromium_src-7493c01516ae767782d9a6414114c8bf9e4035bb.tar.gz
chromium_src-7493c01516ae767782d9a6414114c8bf9e4035bb.tar.bz2
Disable lock count balance check in SkCanvas
Impl-side painting uses special implementation of SkPixelRef which allows (un)locking on multiple threads. The check in SkCanvas is thus too strict and causes assertion to fail on debug build. Use SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK to disable suck checks. BUG=171776 TESTED=Ran it with impl-side painting Review URL: https://chromiumcodereview.appspot.com/12092094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180467 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/skia.gyp')
-rw-r--r--skia/skia.gyp4
1 files changed, 4 insertions, 0 deletions
diff --git a/skia/skia.gyp b/skia/skia.gyp
index fa555c4..a054f73 100644
--- a/skia/skia.gyp
+++ b/skia/skia.gyp
@@ -231,6 +231,10 @@
'SK_IGNORE_CLIP_BUG_FIX',
'SK_IGNORE_CONVEX_QUAD_OPT',
'SK_IGNORE_SETLINE_FIX',
+
+ # Disable this check because it is too strict for some Chromium-specific
+ # subclasses of SkPixelRef. See bug: crbug.com/171776.
+ 'SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK',
],
'sources!': [
'../third_party/skia/include/core/SkTypes.h',