diff options
author | fmalita <fmalita@chromium.org> | 2016-07-06 06:22:06 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-06 06:22:06 -0700 |
commit | 03912f141fba6a5c17ac7e8fbe5998ac3834e29c (patch) | |
tree | eb2cde8e33cbafc8903098ce054bd08a279cb8b4 /src/image/SkSurface_Raster.cpp | |
parent | 1e2a702c1959d37db734d2ecfaee0e5035b2bfbb (diff) |
Document SkSurface::MakeRaster's memory initialization
So clients don't go clearing w/ SK_ColorTRANSPARENT unnecessarily.
R=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2066903003
Review-Url: https://codereview.chromium.org/2066903003
Diffstat (limited to 'src/image/SkSurface_Raster.cpp')
-rw-r--r-- | src/image/SkSurface_Raster.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/image/SkSurface_Raster.cpp b/src/image/SkSurface_Raster.cpp index 8c9c154a9c..c1be0b7fc5 100644 --- a/src/image/SkSurface_Raster.cpp +++ b/src/image/SkSurface_Raster.cpp @@ -205,7 +205,3 @@ sk_sp<SkSurface> SkSurface::MakeRaster(const SkImageInfo& info, size_t rowBytes, } return sk_make_sp<SkSurface_Raster>(pr, props); } - -sk_sp<SkSurface> SkSurface::MakeRaster(const SkImageInfo& info, const SkSurfaceProps* props) { - return MakeRaster(info, 0, props); -} |