Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(939)

Side by Side Diff: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "platform/graphics/compositing/PaintArtifactCompositor.h" 5 #include "platform/graphics/compositing/PaintArtifactCompositor.h"
6 6
7 #include <algorithm>
8 #include <memory>
9 #include <utility>
7 #include "cc/layers/content_layer_client.h" 10 #include "cc/layers/content_layer_client.h"
8 #include "cc/layers/layer.h" 11 #include "cc/layers/layer.h"
9 #include "cc/layers/picture_layer.h" 12 #include "cc/layers/picture_layer.h"
10 #include "cc/playback/compositing_display_item.h" 13 #include "cc/playback/compositing_display_item.h"
11 #include "cc/playback/display_item_list.h" 14 #include "cc/playback/display_item_list.h"
12 #include "cc/playback/drawing_display_item.h" 15 #include "cc/playback/drawing_display_item.h"
13 #include "cc/playback/filter_display_item.h" 16 #include "cc/playback/filter_display_item.h"
14 #include "cc/playback/float_clip_display_item.h" 17 #include "cc/playback/float_clip_display_item.h"
15 #include "cc/playback/transform_display_item.h" 18 #include "cc/playback/transform_display_item.h"
16 #include "cc/trees/layer_tree_host.h" 19 #include "cc/trees/layer_tree_host.h"
(...skipping 16 matching lines...) Expand all
33 #include "ui/gfx/geometry/point_f.h" 36 #include "ui/gfx/geometry/point_f.h"
34 #include "ui/gfx/geometry/rect.h" 37 #include "ui/gfx/geometry/rect.h"
35 #include "ui/gfx/geometry/rect_f.h" 38 #include "ui/gfx/geometry/rect_f.h"
36 #include "ui/gfx/geometry/size.h" 39 #include "ui/gfx/geometry/size.h"
37 #include "ui/gfx/geometry/size_conversions.h" 40 #include "ui/gfx/geometry/size_conversions.h"
38 #include "ui/gfx/geometry/size_f.h" 41 #include "ui/gfx/geometry/size_f.h"
39 #include "ui/gfx/skia_util.h" 42 #include "ui/gfx/skia_util.h"
40 #include "wtf/Allocator.h" 43 #include "wtf/Allocator.h"
41 #include "wtf/Noncopyable.h" 44 #include "wtf/Noncopyable.h"
42 #include "wtf/PtrUtil.h" 45 #include "wtf/PtrUtil.h"
43 #include <algorithm>
44 #include <memory>
45 #include <utility>
46 46
47 namespace blink { 47 namespace blink {
48 48
49 template class RasterInvalidationTrackingMap<const cc::Layer>; 49 template class RasterInvalidationTrackingMap<const cc::Layer>;
50 static RasterInvalidationTrackingMap<const cc::Layer>& 50 static RasterInvalidationTrackingMap<const cc::Layer>&
51 ccLayersRasterInvalidationTrackingMap() { 51 ccLayersRasterInvalidationTrackingMap() {
52 DEFINE_STATIC_LOCAL(RasterInvalidationTrackingMap<const cc::Layer>, map, ()); 52 DEFINE_STATIC_LOCAL(RasterInvalidationTrackingMap<const cc::Layer>, map, ());
53 return map; 53 return map;
54 } 54 }
55 55
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 #ifndef NDEBUG 748 #ifndef NDEBUG
749 void PaintArtifactCompositor::showDebugData() { 749 void PaintArtifactCompositor::showDebugData() {
750 LOG(ERROR) << layersAsJSON(LayerTreeIncludesDebugInfo) 750 LOG(ERROR) << layersAsJSON(LayerTreeIncludesDebugInfo)
751 ->toPrettyJSONString() 751 ->toPrettyJSONString()
752 .utf8() 752 .utf8()
753 .data(); 753 .data();
754 } 754 }
755 #endif 755 #endif
756 756
757 } // namespace blink 757 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698