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

Unified Diff: ppapi/proxy/ppb_image_data_proxy.cc

Issue 2476113002: Change call-sites now that SkCanvas is not ref-counted (Closed)
Patch Set: try fixing win again 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
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 bde81b43fb62c550ca95f29970a585b655871373..b4415fdada0f5c3cac0b14d47ca9bdf82cb9bd4c 100644
--- a/ppapi/proxy/ppb_image_data_proxy.cc
+++ b/ppapi/proxy/ppb_image_data_proxy.cc
@@ -391,10 +391,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;
}

Powered by Google App Engine
This is Rietveld 408576698