OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PaintCanvas_h | 5 #include "cc/paint/paint_record.h" |
6 #define PaintCanvas_h | |
7 | 6 |
8 #include "cc/paint/paint_canvas.h" | 7 #include "cc/paint/paint_canvas.h" |
9 | 8 |
10 namespace blink { | 9 namespace cc { |
11 using cc::PaintCanvas; | 10 |
12 using cc::PaintCanvasAutoRestore; | 11 void PaintRecord::playback(PaintCanvas* canvas) { |
13 using cc::PaintCanvasPassThrough; | 12 playback(canvas->canvas_); |
14 using cc::ToPixmap; | |
15 } | 13 } |
16 | 14 |
17 #endif // PaintCanvas_h | 15 } // namespace cc |
OLD | NEW |