Chromium Code Reviews| 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..9806e808eae87fca788733c0db719d78472afc77 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/paint/PaintCanvas.h |
| +++ b/cc/paint/paint_record.cc |
| @@ -2,16 +2,15 @@ |
| // 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 "base/logging.h" |
|
danakj
2017/03/02 19:44:40
unused
|
| #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 |