diff options
author | 2015-06-23 06:26:08 -0700 | |
---|---|---|
committer | 2015-06-23 06:26:08 -0700 | |
commit | 702edbd4bc41230902b5fe69d14d15763c27fafe (patch) | |
tree | 7c8f0cef358e47fdb1f6fcf08f9ecf830fcf4bad /src/image | |
parent | 0a9af33a929f937e3630cd76c5b36d92344ee06a (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.cpp | 2 |
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, |