| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "platform/graphics/paint/DisplayItemList.h" | 5 #include "platform/graphics/paint/DisplayItemList.h" |
| 6 | 6 |
| 7 #include "platform/graphics/LoggingCanvas.h" | 7 #include "platform/graphics/LoggingCanvas.h" |
| 8 #include "platform/graphics/paint/DrawingDisplayItem.h" | 8 #include "platform/graphics/paint/DrawingDisplayItem.h" |
| 9 #include "platform/graphics/paint/PaintChunk.h" | 9 #include "platform/graphics/paint/PaintChunk.h" |
| 10 #include "third_party/skia/include/core/SkPictureAnalyzer.h" | |
| 11 | 10 |
| 12 #ifndef NDEBUG | 11 #ifndef NDEBUG |
| 13 #include "platform/wtf/text/WTFString.h" | 12 #include "platform/wtf/text/WTFString.h" |
| 14 #endif | 13 #endif |
| 15 | 14 |
| 16 namespace blink { | 15 namespace blink { |
| 17 | 16 |
| 18 DisplayItem& DisplayItemList::AppendByMoving(DisplayItem& item) { | 17 DisplayItem& DisplayItemList::AppendByMoving(DisplayItem& item) { |
| 19 #ifndef NDEBUG | 18 #ifndef NDEBUG |
| 20 String original_debug_string = item.AsDebugString(); | 19 String original_debug_string = item.AsDebugString(); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 String::Format("[%d,%d %dx%d]", local_visual_rect.X(), | 105 String::Format("[%d,%d %dx%d]", local_visual_rect.X(), |
| 107 local_visual_rect.Y(), local_visual_rect.Width(), | 106 local_visual_rect.Y(), local_visual_rect.Width(), |
| 108 local_visual_rect.Height())); | 107 local_visual_rect.Height())); |
| 109 } | 108 } |
| 110 json_array->PushObject(std::move(json)); | 109 json_array->PushObject(std::move(json)); |
| 111 } | 110 } |
| 112 return json_array; | 111 return json_array; |
| 113 } | 112 } |
| 114 | 113 |
| 115 } // namespace blink | 114 } // namespace blink |
| OLD | NEW |