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

Unified Diff: content/renderer/pepper/pepper_plugin_instance_impl.h

Issue 2476113002: Change call-sites now that SkCanvas is not ref-counted (Closed)
Patch Set: no need for unique check on unique_ptr 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: content/renderer/pepper/pepper_plugin_instance_impl.h
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.h b/content/renderer/pepper/pepper_plugin_instance_impl.h
index cac1a756e4ee03bf98efa6cf5c860e1713df6490..613ed4b43b2a2b2baa2ad29e8e793db44c92c06a 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.h
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.h
@@ -837,7 +837,7 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
// to generate the entire PDF given the variables below:
//
// The most recently used WebCanvas, guaranteed to be valid.
- sk_sp<blink::WebCanvas> canvas_;
+ blink::WebCanvas* canvas_;
f(malita) 2016/11/14 17:29:15 This changes the ownership model. Are we sure the
reed1 2016/11/14 20:50:08 Done.
// An array of page ranges.
std::vector<PP_PrintPageNumberRange_Dev> ranges_;

Powered by Google App Engine
This is Rietveld 408576698