guard registering mallocpixelref for chrome
companion to https://codereview.chromium.org/320873003 NOTRY=True TBR= Author: reed@google.com Review URL: https://codereview.chromium.org/373903002
This commit is contained in:
parent
060c41a499
commit
3230517a77
@ -106,7 +106,9 @@ static void InitializeFlattenables() {
|
||||
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMergeImageFilter)
|
||||
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorFilterImageFilter)
|
||||
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDownSampleImageFilter)
|
||||
#ifdef SK_SUPPORT_LEGACY_PIXELREF_UNFLATTENABLE
|
||||
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMallocPixelRef)
|
||||
#endif
|
||||
|
||||
SkArithmeticMode::InitializeFlattenables();
|
||||
SkBlurMaskFilter::InitializeFlattenables();
|
||||
|
Loading…
Reference in New Issue
Block a user