Removing duplicate code after the merge
authorMatthew Leibowitz <mattleibow@live.com>
Thu, 14 Jul 2016 13:54:42 +0000 (15:54 +0200)
committerMatthew Leibowitz <mattleibow@live.com>
Thu, 14 Jul 2016 13:54:42 +0000 (15:54 +0200)
gm/displacement.cpp

index b998b3cdfff15d4118a82d3e218490f4f00536bc..9fea0188df3da7ecc770396391ecad177311429c 100644 (file)
@@ -160,13 +160,6 @@ protected:
             -40.0f, displ, nullptr));
         this->drawClippedBitmap(canvas, 500, 0, paint);
 
-        // Test for negative scale.
-        paint.setImageFilter(SkDisplacementMapEffect::Create(
-            SkDisplacementMapEffect::kG_ChannelSelectorType,
-            SkDisplacementMapEffect::kA_ChannelSelectorType,
-            -40.0f, displ))->unref();
-        this->drawClippedBitmap(canvas, 500, 0, paint);
-
         // Tests for images of different sizes
         displ = SkImageSource::Make(fSmall);
         paint.setImageFilter(SkDisplacementMapEffect::Make(