Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(478)

Unified Diff: ppapi/proxy/ppb_image_data_proxy.cc

Issue 2519083002: Revert "Revert "Change call-sites now that SkCanvas is not ref-counted"" (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppb_image_data_proxy.h ('k') | skia/config/SkUserConfig.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_image_data_proxy.cc
diff --git a/ppapi/proxy/ppb_image_data_proxy.cc b/ppapi/proxy/ppb_image_data_proxy.cc
index 434d27864b35efe3d8c6ea2bd783d389f07e2d43..6c04fc420d6dec145c64672632eef89172aa4040 100644
--- a/ppapi/proxy/ppb_image_data_proxy.cc
+++ b/ppapi/proxy/ppb_image_data_proxy.cc
@@ -388,10 +388,8 @@ void* PlatformImageData::Map() {
return NULL;
const bool is_opaque = false;
- mapped_canvas_ =
- sk_sp<SkCanvas>(transport_dib_->GetPlatformCanvas(desc_.size.width,
- desc_.size.height,
- is_opaque));
+ mapped_canvas_ = transport_dib_->GetPlatformCanvas(
+ desc_.size.width, desc_.size.height, is_opaque);
if (!mapped_canvas_.get())
return NULL;
}
« no previous file with comments | « ppapi/proxy/ppb_image_data_proxy.h ('k') | skia/config/SkUserConfig.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698