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

Unified Diff: cc/output/software_renderer.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 | « cc/blimp/picture_data_conversions_unittest.cc ('k') | cc/output/software_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/software_renderer.h
diff --git a/cc/output/software_renderer.h b/cc/output/software_renderer.h
index ef919a2fcbf1dc2ce6f4fc102b18ac29e10ab7ae..28effca5ad1a365361bfa0e5b533f3deeadc4210 100644
--- a/cc/output/software_renderer.h
+++ b/cc/output/software_renderer.h
@@ -104,7 +104,7 @@ class CC_EXPORT SoftwareRenderer : public DirectRenderer {
SkPaint current_paint_;
std::unique_ptr<ResourceProvider::ScopedWriteLockSoftware>
current_framebuffer_lock_;
- std::unique_ptr<SkCanvas> current_framebuffer_canvas_;
+ sk_sp<SkCanvas> current_framebuffer_canvas_;
DISALLOW_COPY_AND_ASSIGN(SoftwareRenderer);
};
« no previous file with comments | « cc/blimp/picture_data_conversions_unittest.cc ('k') | cc/output/software_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698