Index: src/ports/SkGlobalInitialization_chromium.cpp |
diff --git a/src/ports/SkGlobalInitialization_chromium.cpp b/src/ports/SkGlobalInitialization_chromium.cpp |
index 8ff43f78e8d8e594d0446a3152ba8f744d3294b3..5da637941b5d81ff6de84a84a4508cc2f27ecbad 100644 |
--- a/src/ports/SkGlobalInitialization_chromium.cpp |
+++ b/src/ports/SkGlobalInitialization_chromium.cpp |
@@ -15,6 +15,7 @@ |
#include "Sk1DPathEffect.h" |
#include "Sk2DPathEffect.h" |
+#include "SkAlphaThresholdFilter.h" |
#include "SkArithmeticMode.h" |
#include "SkArcToPathEffect.h" |
#include "SkBitmapSourceDeserializer.h" |
@@ -37,6 +38,7 @@ |
#include "SkEmbossMaskFilter.h" |
#include "SkFlattenable.h" |
#include "SkGradientShader.h" |
+#include "SkImageShader.h" |
#include "SkImageSource.h" |
#include "SkLayerDrawLooper.h" |
#include "SkLayerRasterizer.h" |
@@ -102,6 +104,7 @@ public: |
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkEmbossMaskFilter) |
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkEmptyShader) |
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkErodeImageFilter) |
+ SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkImageShader) |
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkImageSource) |
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerDrawLooper) |
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerRasterizer) |
@@ -130,6 +133,7 @@ public: |
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorFilterImageFilter) |
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDownSampleImageFilter) |
+ SkAlphaThresholdFilter::InitializeFlattenables(); |
SkArithmeticMode::InitializeFlattenables(); |
SkBlurMaskFilter::InitializeFlattenables(); |
SkColorFilter::InitializeFlattenables(); |