Chromium Code Reviews| Index: Source/core/frame/FrameView.h |
| diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h |
| index 5340a380b8154b9a30615ee8cfc91ccbcbdfaf6c..11d2285b8f224b9cd4975f590dc44cb7587a8d1c 100644 |
| --- a/Source/core/frame/FrameView.h |
| +++ b/Source/core/frame/FrameView.h |
| @@ -63,6 +63,7 @@ class LayoutEmbeddedObject; |
| class LayoutObject; |
| class LayoutScrollbarPart; |
| class LayoutView; |
| +class PaintInvalidationState; |
| class Page; |
| class ScrollingCoordinator; |
| class TracedValue; |
| @@ -598,6 +599,8 @@ protected: |
| }; |
| private: |
| + friend class LayoutPart; // For invalidateTreeIfNeeded. |
|
chrishtr
2015/07/01 19:56:51
We don't do that elsewhere, since friend classes c
Xianzhu
2015/07/01 20:10:46
Done.
|
| + |
| explicit FrameView(LocalFrame*); |
| virtual void setScrollOffset(const IntPoint&, ScrollType) override; |
| @@ -630,7 +633,7 @@ private: |
| void scheduleOrPerformPostLayoutTasks(); |
| void performPostLayoutTasks(); |
| - void invalidateTreeIfNeeded(Vector<LayoutObject*>& pendingDelayedPaintInvalidations); |
| + void invalidateTreeIfNeeded(PaintInvalidationState&); |
| DocumentLifecycle& lifecycle() const; |