| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/PaintController.h" | 5 #include "platform/graphics/paint/PaintController.h" |
| 6 | 6 |
| 7 #include "platform/graphics/GraphicsLayer.h" | 7 #include "platform/graphics/GraphicsLayer.h" |
| 8 #include "platform/graphics/paint/DrawingDisplayItem.h" | 8 #include "platform/graphics/paint/DrawingDisplayItem.h" |
| 9 #include "platform/instrumentation/tracing/TraceEvent.h" | 9 #include "platform/instrumentation/tracing/TraceEvent.h" |
| 10 #include "platform/wtf/AutoReset.h" |
| 11 #include "platform/wtf/text/StringBuilder.h" |
| 10 #include "third_party/skia/include/core/SkPictureAnalyzer.h" | 12 #include "third_party/skia/include/core/SkPictureAnalyzer.h" |
| 11 #include "wtf/AutoReset.h" | |
| 12 #include "wtf/text/StringBuilder.h" | |
| 13 | 13 |
| 14 #ifndef NDEBUG | 14 #ifndef NDEBUG |
| 15 #include "platform/graphics/LoggingCanvas.h" | 15 #include "platform/graphics/LoggingCanvas.h" |
| 16 #include <stdio.h> | 16 #include <stdio.h> |
| 17 #endif | 17 #endif |
| 18 | 18 |
| 19 namespace blink { | 19 namespace blink { |
| 20 | 20 |
| 21 void PaintController::setTracksRasterInvalidations(bool value) { | 21 void PaintController::setTracksRasterInvalidations(bool value) { |
| 22 if (value) { | 22 if (value) { |
| (...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 863 showPaintRecords | 863 showPaintRecords |
| 864 ? (DisplayItemList::JsonOptions::ShowPaintRecords | | 864 ? (DisplayItemList::JsonOptions::ShowPaintRecords | |
| 865 DisplayItemList::JsonOptions::ShowClientDebugName) | 865 DisplayItemList::JsonOptions::ShowClientDebugName) |
| 866 : DisplayItemList::JsonOptions::ShowClientDebugName) | 866 : DisplayItemList::JsonOptions::ShowClientDebugName) |
| 867 ->toPrettyJSONString() | 867 ->toPrettyJSONString() |
| 868 .utf8() | 868 .utf8() |
| 869 .data()); | 869 .data()); |
| 870 } | 870 } |
| 871 | 871 |
| 872 } // namespace blink | 872 } // namespace blink |
| OLD | NEW |