Index: Source/core/frame/FrameView.h |
diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h |
index 37e884b2a50f5474b9ed80bce752c1a84d88df82..5dfa3b7dc952763b42ed755850520eebee2f662a 100644 |
--- a/Source/core/frame/FrameView.h |
+++ b/Source/core/frame/FrameView.h |
@@ -77,10 +77,13 @@ typedef unsigned long long DOMTimeStamp; |
class CORE_EXPORT FrameView final : public Widget, public ScrollableArea { |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FrameView); |
-public: |
- friend class LayoutView; |
+ |
+ friend class DisplayItemListPaintTestForSlimmingPaintV2; |
friend class Internals; |
+ friend class LayoutPart; // for invalidateTreeIfNeeded |
+ friend class LayoutView; // for contentRectangleForPaintInvalidation |
+public: |
static PassRefPtrWillBeRawPtr<FrameView> create(LocalFrame*); |
static PassRefPtrWillBeRawPtr<FrameView> create(LocalFrame*, const IntSize& initialSize); |
@@ -607,6 +610,7 @@ private: |
enum LifeCycleUpdateOption { |
AllPhases, |
OnlyUpToCompositingCleanPlusScrolling, |
+ OnlyUpToPaintForSlimmingPaintV2Clean, |
}; |
void updateLifecyclePhasesInternal(LifeCycleUpdateOption); |
@@ -624,8 +628,6 @@ private: |
// Called when our frame rect changes (or the rect/scroll position of an ancestor changes). |
void frameRectsChanged() override; |
- friend class LayoutPart; |
- |
bool contentsInCompositedLayer() const; |
void applyOverflowToViewport(LayoutObject*, ScrollbarMode& hMode, ScrollbarMode& vMode); |