Fix legacy NewRenderTarget factory
authorbsalomon <bsalomon@google.com>
Wed, 13 Apr 2016 22:10:20 +0000 (15:10 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 13 Apr 2016 22:10:20 +0000 (15:10 -0700)
TBR=robertphillips@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1888593002

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

include/core/SkSurface.h

index 427f52d..a092a81 100644 (file)
@@ -169,7 +169,7 @@ public:
     }
     static SkSurface* NewRenderTarget(GrContext* ctx, SkBudgeted b, const SkImageInfo& info,
                                       int sampleCount, const SkSurfaceProps* props = NULL) {
-        return MakeRenderTarget(ctx, b, info, sampleCount, props, a).release();
+        return MakeRenderTarget(ctx, b, info, sampleCount, props).release();
     }
     static SkSurface* NewRenderTarget(GrContext* gr, SkBudgeted b, const SkImageInfo& info) {
         return NewRenderTarget(gr, b, info, 0);