| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |