Index: Source/core/frame/FrameView.h |
diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h |
index 5dabe604727d9a5cea1a1dab025a9ecc34be92c7..09b72fcbe964a5692e8d9929d0b8f9c2124a905d 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. |
@@ -610,11 +611,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(); |