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

Unified Diff: content/browser/compositor/software_output_device_win.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
Index: content/browser/compositor/software_output_device_win.h
diff --git a/content/browser/compositor/software_output_device_win.h b/content/browser/compositor/software_output_device_win.h
index 2c0780faec3eb7c4ab9e11fa9abf69db692addad..61066ceaa9482344b6c7e0301d97a6d117f6e7c4 100644
--- a/content/browser/compositor/software_output_device_win.h
+++ b/content/browser/compositor/software_output_device_win.h
@@ -63,7 +63,7 @@ class SoftwareOutputDeviceWin : public cc::SoftwareOutputDevice {
private:
HWND hwnd_;
- std::unique_ptr<SkCanvas> contents_;
+ sk_sp<SkCanvas> contents_;
bool is_hwnd_composited_;
OutputDeviceBacking* backing_;
bool in_paint_;
« no previous file with comments | « content/browser/compositor/software_output_device_mac.mm ('k') | content/browser/compositor/software_output_device_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698