Fix casting bug in GrArithmeticXP
authoregdaniel <egdaniel@google.com>
Wed, 4 Feb 2015 17:22:33 +0000 (09:22 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 4 Feb 2015 17:22:33 +0000 (09:22 -0800)
BUG=skia:

Review URL: https://codereview.chromium.org/858373006

src/effects/SkArithmeticMode_gpu.cpp

index 48b7bcd..38bb904 100644 (file)
@@ -213,7 +213,7 @@ GrArithmeticXP::GrArithmeticXP(float k1, float k2, float k3, float k4, bool enfo
     , fK3(k3)
     , fK4(k4)
     , fEnforcePMColor(enforcePMColor) {
-    this->initClassID<GrPorterDuffXferProcessor>();
+    this->initClassID<GrArithmeticXP>();
     this->setWillReadDstColor();
 }