Index: Source/core/frame/FrameView.h |
diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h |
index a1b2b4383ff62b44434aa193bdc964110947d04a..4ed07bb25351fa083e755f50390dd9ae4debcbbd 100644 |
--- a/Source/core/frame/FrameView.h |
+++ b/Source/core/frame/FrameView.h |
@@ -226,7 +226,8 @@ public: |
Color documentBackgroundColor() const; |
// Run all needed lifecycle stages. After calling this method, all frames will be in the lifecycle state PaintInvalidationClean. |
- void updateAllLifecyclePhases(); |
+ // TODO(pdr): Update callers to pass in the interest rect. |
+ void updateAllLifecyclePhases(const LayoutRect& interestRect = LayoutRect::infiniteRect()); |
// Computes the style, layout and compositing lifecycle stages if needed. After calling this method, all frames wil lbe in a lifecycle |
// state >= CompositingClean, and scrolling has been updated. |
@@ -612,11 +613,11 @@ private: |
OnlyUpToCompositingCleanPlusScrolling, |
}; |
- void updateLifecyclePhasesInternal(LifeCycleUpdateOption); |
+ void updateLifecyclePhasesInternal(LifeCycleUpdateOption, const LayoutRect& interestRect = LayoutRect::infiniteRect()); |
void invalidateTreeIfNeededRecursive(); |
void scrollContentsIfNeededRecursive(); |
void updateStyleAndLayoutIfNeededRecursive(); |
- void paintForSlimmingPaintV2(); |
+ void paintForSlimmingPaintV2(const LayoutRect& interestRect); |
void compositeForSlimmingPaintV2(); |
void reset(); |