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

Unified Diff: cc/paint/paint_record.cc

Issue 2690583002: Make cc/paint have concrete types (Closed)
Patch Set: Add missing file Created 3 years, 10 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: cc/paint/paint_record.cc
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintCanvas.h b/cc/paint/paint_record.cc
similarity index 50%
copy from third_party/WebKit/Source/platform/graphics/paint/PaintCanvas.h
copy to cc/paint/paint_record.cc
index c31f9ea66fb4fff2548335f737a744f903d5a2e2..3632eb50949ef2aa2051be8d9d53ebed0f73bae5 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintCanvas.h
+++ b/cc/paint/paint_record.cc
@@ -2,16 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PaintCanvas_h
-#define PaintCanvas_h
+#include "cc/paint/paint_record.h"
#include "cc/paint/paint_canvas.h"
-namespace blink {
-using cc::PaintCanvas;
-using cc::PaintCanvasAutoRestore;
-using cc::PaintCanvasPassThrough;
-using cc::ToPixmap;
+namespace cc {
+
+void PaintRecord::playback(PaintCanvas* canvas) {
+ playback(canvas->canvas_);
}
-#endif // PaintCanvas_h
+} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698