aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkSurface.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-04-13 15:10:20 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-13 15:10:20 -0700
commit5092eacc7e9f8041bb05b678f71e4e917ff5529e (patch)
treedfd76280f61c1f1fec47814328a5c38459a4fb41 /include/core/SkSurface.h
parent3f21a2e9f3ea6e4f5ad8aca4bd260b4dba375732 (diff)
Fix legacy NewRenderTarget factory
Diffstat (limited to 'include/core/SkSurface.h')
-rw-r--r--include/core/SkSurface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h
index 427f52dcc0..a092a81ca5 100644
--- a/include/core/SkSurface.h
+++ b/include/core/SkSurface.h
@@ -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);