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

Side by Side Diff: third_party/WebKit/Source/core/layout/TracedLayoutObject.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 "core/layout/TracedLayoutObject.h" 5 #include "core/layout/TracedLayoutObject.h"
6 6
7 #include <inttypes.h>
8 #include <memory>
7 #include "core/layout/LayoutInline.h" 9 #include "core/layout/LayoutInline.h"
8 #include "core/layout/LayoutTableCell.h" 10 #include "core/layout/LayoutTableCell.h"
9 #include "core/layout/LayoutText.h" 11 #include "core/layout/LayoutText.h"
10 #include "core/layout/LayoutView.h" 12 #include "core/layout/LayoutView.h"
11 #include <inttypes.h>
12 #include <memory>
13 13
14 namespace blink { 14 namespace blink {
15 15
16 namespace { 16 namespace {
17 17
18 void dumpToTracedValue(const LayoutObject& object, 18 void dumpToTracedValue(const LayoutObject& object,
19 bool traceGeometry, 19 bool traceGeometry,
20 TracedValue* tracedValue) { 20 TracedValue* tracedValue) {
21 tracedValue->setString( 21 tracedValue->setString(
22 "address", 22 "address",
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 } // namespace 110 } // namespace
111 111
112 std::unique_ptr<TracedValue> TracedLayoutObject::create(const LayoutView& view, 112 std::unique_ptr<TracedValue> TracedLayoutObject::create(const LayoutView& view,
113 bool traceGeometry) { 113 bool traceGeometry) {
114 std::unique_ptr<TracedValue> tracedValue = TracedValue::create(); 114 std::unique_ptr<TracedValue> tracedValue = TracedValue::create();
115 dumpToTracedValue(view, traceGeometry, tracedValue.get()); 115 dumpToTracedValue(view, traceGeometry, tracedValue.get());
116 return tracedValue; 116 return tracedValue;
117 } 117 }
118 118
119 } // namespace blink 119 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698