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

Unified Diff: content/browser/compositor/software_output_device_mac.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: content/browser/compositor/software_output_device_mac.h
diff --git a/content/browser/compositor/software_output_device_mac.h b/content/browser/compositor/software_output_device_mac.h
index e0a1b1f0c499a180a3602fb70747eb051b37e18d..a0bc9109867962efc7da9ff97d904fd822b5086a 100644
--- a/content/browser/compositor/software_output_device_mac.h
+++ b/content/browser/compositor/software_output_device_mac.h
@@ -66,7 +66,7 @@ class SoftwareOutputDeviceMac :
// The SkCanvas wrapps the mapped current IOSurface. It is valid only between
// BeginPaint and EndPaint.
- sk_sp<SkCanvas> canvas_;
+ std::unique_ptr<SkCanvas> canvas_;
gfx::VSyncProvider::UpdateVSyncCallback update_vsync_callback_;

Powered by Google App Engine
This is Rietveld 408576698