| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/observer/ResizeObserverEntry.h" | 5 #include "core/observer/ResizeObserverEntry.h" |
| 6 | 6 |
| 7 #include "core/dom/ClientRect.h" | 7 #include "core/dom/ClientRect.h" |
| 8 #include "core/dom/DOMRectReadOnly.h" | 8 #include "core/dom/DOMRectReadOnly.h" |
| 9 #include "core/dom/Element.h" | 9 #include "core/dom/Element.h" |
| 10 #include "core/layout/LayoutBox.h" |
| 11 #include "core/observer/ResizeObservation.h" |
| 10 | 12 |
| 11 namespace blink { | 13 namespace blink { |
| 12 | 14 |
| 13 class ResizeObservation; | 15 class ResizeObservation; |
| 14 | 16 |
| 15 ResizeObserverEntry::ResizeObserverEntry(Element* target) | 17 ResizeObserverEntry::ResizeObserverEntry(Element* target) |
| 16 : m_target(target) | 18 : m_target(target) |
| 17 { | 19 { |
| 18 } | 20 } |
| 19 | 21 |
| 20 DEFINE_TRACE(ResizeObserverEntry) | 22 DEFINE_TRACE(ResizeObserverEntry) |
| 21 { | 23 { |
| 22 visitor->trace(m_target); | 24 visitor->trace(m_target); |
| 23 visitor->trace(m_contentRect); | 25 visitor->trace(m_contentRect); |
| 24 } | 26 } |
| 25 | 27 |
| 26 } // namespace blink | 28 } // namespace blink |
| OLD | NEW |