aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-06-23 06:26:08 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-23 06:26:08 -0700
commit702edbd4bc41230902b5fe69d14d15763c27fafe (patch)
tree7c8f0cef358e47fdb1f6fcf08f9ecf830fcf4bad /src/image
parent0a9af33a929f937e3630cd76c5b36d92344ee06a (diff)
Propagate SkSurfaceProps to more call sites
Start moving to a world where everyone provides surface properties. Most notably this exposes a portion of SkSurfaceProps to the C API. BUG=skia:3934 Review URL: https://codereview.chromium.org/1195003003
Diffstat (limited to 'src/image')
-rw-r--r--src/image/SkSurface_Raster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image/SkSurface_Raster.cpp b/src/image/SkSurface_Raster.cpp
index 28b972b90c..4e0ba088b1 100644
--- a/src/image/SkSurface_Raster.cpp
+++ b/src/image/SkSurface_Raster.cpp
@@ -109,7 +109,7 @@ SkCanvas* SkSurface_Raster::onNewCanvas() {
}
SkSurface* SkSurface_Raster::onNewSurface(const SkImageInfo& info) {
- return SkSurface::NewRaster(info);
+ return SkSurface::NewRaster(info, &this->props());
}
void SkSurface_Raster::onDraw(SkCanvas* canvas, SkScalar x, SkScalar y,