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

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

Issue 1209133002: Traverse into child LayoutViews during invalidateTreeIfNeeded (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address chrishtr's comments; Fix unit tests Created 5 years, 6 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 e357928df8be93048699acc68f952d8da0905bdf..b0eca06eceb29a735fa132569293f3315b47318b 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.
+
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;

Powered by Google App Engine
This is Rietveld 408576698