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

Unified Diff: content/browser/compositor/software_output_device_mac.h

Issue 2509983004: Revert "Change call-sites now that SkCanvas is not ref-counted" (Closed)
Patch Set: 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 | « components/test_runner/pixel_dump.cc ('k') | content/browser/compositor/software_output_device_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a0bc9109867962efc7da9ff97d904fd822b5086a..e0a1b1f0c499a180a3602fb70747eb051b37e18d 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.
- std::unique_ptr<SkCanvas> canvas_;
+ sk_sp<SkCanvas> canvas_;
gfx::VSyncProvider::UpdateVSyncCallback update_vsync_callback_;
« no previous file with comments | « components/test_runner/pixel_dump.cc ('k') | content/browser/compositor/software_output_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698