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 "cc/resources/clip_path_display_item.h" | 5 #include "cc/playback/clip_path_display_item.h" |
6 | 6 |
7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
8 #include "base/trace_event/trace_event_argument.h" | 8 #include "base/trace_event/trace_event_argument.h" |
9 #include "third_party/skia/include/core/SkCanvas.h" | 9 #include "third_party/skia/include/core/SkCanvas.h" |
10 | 10 |
11 namespace cc { | 11 namespace cc { |
12 | 12 |
13 ClipPathDisplayItem::ClipPathDisplayItem() { | 13 ClipPathDisplayItem::ClipPathDisplayItem() { |
14 } | 14 } |
15 | 15 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 SkDrawPictureCallback* callback) const { | 52 SkDrawPictureCallback* callback) const { |
53 canvas->restore(); | 53 canvas->restore(); |
54 } | 54 } |
55 | 55 |
56 void EndClipPathDisplayItem::AsValueInto( | 56 void EndClipPathDisplayItem::AsValueInto( |
57 base::trace_event::TracedValue* array) const { | 57 base::trace_event::TracedValue* array) const { |
58 array->AppendString("EndClipPathDisplayItem"); | 58 array->AppendString("EndClipPathDisplayItem"); |
59 } | 59 } |
60 | 60 |
61 } // namespace cc | 61 } // namespace cc |
OLD | NEW |