OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "ui/compositor/paint_recorder.h" | 5 #include "ui/compositor/paint_recorder.h" |
6 | 6 |
7 #include "ui/compositor/paint_context.h" | 7 #include "ui/compositor/paint_context.h" |
8 | 8 |
9 namespace ui { | 9 namespace ui { |
10 | 10 |
11 PaintRecorder::PaintRecorder(const PaintContext& context) | 11 PaintRecorder::PaintRecorder(const PaintContext& context) |
12 : canvas_(context.canvas()) { | 12 : canvas_(context.canvas_) { |
13 } | 13 } |
14 | 14 |
15 PaintRecorder::~PaintRecorder() { | 15 PaintRecorder::~PaintRecorder() { |
16 } | 16 } |
17 | 17 |
18 } // namespace ui | 18 } // namespace ui |
OLD | NEW |