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 "config.h" | |
6 #include "core/layout/TracedLayoutObject.h" | 5 #include "core/layout/TracedLayoutObject.h" |
7 | 6 |
8 #include "core/layout/LayoutInline.h" | 7 #include "core/layout/LayoutInline.h" |
9 #include "core/layout/LayoutTableCell.h" | 8 #include "core/layout/LayoutTableCell.h" |
10 #include "core/layout/LayoutText.h" | 9 #include "core/layout/LayoutText.h" |
11 #include "core/layout/LayoutView.h" | 10 #include "core/layout/LayoutView.h" |
12 #include "platform/JSONValues.h" | 11 #include "platform/JSONValues.h" |
13 | 12 |
14 namespace blink { | 13 namespace blink { |
15 | 14 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 RefPtr<JSONArray> children(JSONArray::create()); | 135 RefPtr<JSONArray> children(JSONArray::create()); |
137 for (const auto& child : m_children) { | 136 for (const auto& child : m_children) { |
138 children->pushObject(child->toJSON()); | 137 children->pushObject(child->toJSON()); |
139 } | 138 } |
140 json->setArray("children", children); | 139 json->setArray("children", children); |
141 } | 140 } |
142 return json.release(); | 141 return json.release(); |
143 } | 142 } |
144 | 143 |
145 } // namespace blink | 144 } // namespace blink |
OLD | NEW |