Index: src/gpu/effects/GrPorterDuffXferProcessor.cpp |
diff --git a/src/gpu/effects/GrPorterDuffXferProcessor.cpp b/src/gpu/effects/GrPorterDuffXferProcessor.cpp |
index 04a7b1fda3e97c09e851620c14fc0963b375808d..55e0c93b23ad03d355ea39969e31c5a7c0cb2eb2 100644 |
--- a/src/gpu/effects/GrPorterDuffXferProcessor.cpp |
+++ b/src/gpu/effects/GrPorterDuffXferProcessor.cpp |
@@ -65,6 +65,11 @@ void GrPorterDuffXferProcessor::onComputeInvariantOutput(GrInvariantOutput* inou |
/////////////////////////////////////////////////////////////////////////////// |
+GrPorterDuffXPFactory::GrPorterDuffXPFactory(GrBlendCoeff src, GrBlendCoeff dst) |
+ : fSrc(src), fDst(dst) { |
+ this->initClassID<GrPorterDuffXPFactory>(); |
+} |
+ |
GrXPFactory* GrPorterDuffXPFactory::Create(SkXfermode::Mode mode) { |
switch (mode) { |
case SkXfermode::kClear_Mode: { |