Chromium Code Reviews| Index: third_party/WebKit/Source/core/observer/ResizeObservation.h |
| diff --git a/third_party/WebKit/Source/core/observer/ResizeObservation.h b/third_party/WebKit/Source/core/observer/ResizeObservation.h |
| index 18b6f0ef3a45ad2aa5fae9a3121f5758c2f7096c..287b0fb91a73122cf272c17b5bcf3b6dbef3b4b3 100644 |
| --- a/third_party/WebKit/Source/core/observer/ResizeObservation.h |
| +++ b/third_party/WebKit/Source/core/observer/ResizeObservation.h |
| @@ -24,6 +24,7 @@ public: |
| void setObservationSize(const LayoutSize&); |
| // True if observationSize differs from target's current size. |
| bool observationSizeOutOfSync() const; |
| + void elementSizeChanged(); |
| static LayoutSize getTargetSize(Element* target); |
| @@ -34,6 +35,8 @@ private: |
| Member<ResizeObserver> m_observer; |
| // Target size sent in last observation notification. |
| LayoutSize m_observationSize; |
| + // True if Element reported size change. |
|
eae
2016/07/28 18:18:32
Please remove unnecessary comment, the name is cle
atotic1
2016/07/28 20:36:59
Done.
|
| + bool m_elementSizeChanged; |
| }; |
| } // namespace blink |