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

Side by Side Diff: third_party/WebKit/Source/core/layout/TracedLayoutObject.cpp

Issue 1620673002: Remove Blink's ConvertableToTraceFormat (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 "core/layout/LayoutInline.h" 7 #include "core/layout/LayoutInline.h"
8 #include "core/layout/LayoutTableCell.h" 8 #include "core/layout/LayoutTableCell.h"
9 #include "core/layout/LayoutText.h" 9 #include "core/layout/LayoutText.h"
10 #include "core/layout/LayoutView.h" 10 #include "core/layout/LayoutView.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 tracedValue->beginDictionary(); 92 tracedValue->beginDictionary();
93 dumpToTracedValue(*child, traceGeometry, tracedValue); 93 dumpToTracedValue(*child, traceGeometry, tracedValue);
94 tracedValue->endDictionary(); 94 tracedValue->endDictionary();
95 } 95 }
96 tracedValue->endArray(); 96 tracedValue->endArray();
97 } 97 }
98 } 98 }
99 99
100 } // namespace 100 } // namespace
101 101
102 PassRefPtr<TraceEvent::ConvertableToTraceFormat> TracedLayoutObject::create(cons t LayoutView& view, bool traceGeometry) 102 PassRefPtr<TracedValue> TracedLayoutObject::create(const LayoutView& view, bool traceGeometry)
103 { 103 {
104 RefPtr<TracedValue> tracedValue = TracedValue::create(); 104 RefPtr<TracedValue> tracedValue = TracedValue::create();
105 dumpToTracedValue(view, traceGeometry, tracedValue.get()); 105 dumpToTracedValue(view, traceGeometry, tracedValue.get());
106 return tracedValue.release(); 106 return tracedValue.release();
107 } 107 }
108 108
109 } // namespace blink 109 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698