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

Unified Diff: ppapi/proxy/ppb_image_data_proxy.h

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.h
diff --git a/ppapi/proxy/ppb_image_data_proxy.h b/ppapi/proxy/ppb_image_data_proxy.h
index 2e5554d57088dfd885feb424413ceb8b63ec169c..2b39aa0c8baebec049e1a4dc362a96ad960a3b51 100644
--- a/ppapi/proxy/ppb_image_data_proxy.h
+++ b/ppapi/proxy/ppb_image_data_proxy.h
@@ -104,7 +104,7 @@ class PPAPI_PROXY_EXPORT PlatformImageData : public ImageData {
std::unique_ptr<TransportDIB> transport_dib_;
// Null when the image isn't mapped.
- sk_sp<SkCanvas> mapped_canvas_;
+ std::unique_ptr<SkCanvas> mapped_canvas_;
DISALLOW_COPY_AND_ASSIGN(PlatformImageData);
};

Powered by Google App Engine
This is Rietveld 408576698