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 |