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

Unified Diff: cc/paint/paint_surface.h

Issue 2752593002: cc: Make PaintCanvas abstract (Closed)
Patch Set: Remove default parameters on virtual functions Created 3 years, 9 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
« no previous file with comments | « cc/paint/paint_recorder.h ('k') | cc/paint/skia_paint_canvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/paint_surface.h
diff --git a/cc/paint/paint_surface.h b/cc/paint/paint_surface.h
index 471901732aab3fb200855256587ee0b1c9327fb1..5e56ed1f94c8ec212a0444a1812881ff6fcf4941 100644
--- a/cc/paint/paint_surface.h
+++ b/cc/paint/paint_surface.h
@@ -8,8 +8,8 @@
#include "base/macros.h"
#include "base/memory/ptr_util.h"
#include "base/optional.h"
-#include "cc/paint/paint_canvas.h"
#include "cc/paint/paint_export.h"
+#include "cc/paint/skia_paint_canvas.h"
#include "third_party/skia/include/core/SkSurface.h"
namespace cc {
@@ -49,7 +49,7 @@ class CC_PAINT_EXPORT PaintSurface : public SkRefCntBase {
private:
const sk_sp<SkSurface> surface_;
- base::Optional<PaintCanvas> canvas_;
+ base::Optional<SkiaPaintCanvas> canvas_;
DISALLOW_COPY_AND_ASSIGN(PaintSurface);
};
« no previous file with comments | « cc/paint/paint_recorder.h ('k') | cc/paint/skia_paint_canvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698