Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1037)

Unified Diff: Source/core/frame/FrameView.h

Issue 1327563003: Don't cache subsequence whose layer is not fully contained by repaint rect (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698