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

Unified Diff: src/image/SkSurface_Base.h

Issue 551463004: introduce Props to surface (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: address comments from #6 Created 6 years, 3 months 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: src/image/SkSurface_Base.h
diff --git a/src/image/SkSurface_Base.h b/src/image/SkSurface_Base.h
index e7fa57af0d2b3319f7dc326752904f523e4bb628..fb2ff0fa620b6b3e1865e7d01f0bb098f203dc87 100644
--- a/src/image/SkSurface_Base.h
+++ b/src/image/SkSurface_Base.h
@@ -13,8 +13,10 @@
class SkSurface_Base : public SkSurface {
public:
- SkSurface_Base(int width, int height);
- explicit SkSurface_Base(const SkImageInfo&);
+ static Props MakeDefaultProps();
+
+ SkSurface_Base(int width, int height, const Props&);
+ SkSurface_Base(const SkImageInfo&, const Props&);
virtual ~SkSurface_Base();
/**

Powered by Google App Engine
This is Rietveld 408576698