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

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: NeedsRebaselines (see previous patch set for expected test expectation changes) 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
« no previous file with comments | « LayoutTests/fast/repaint/in-scaled-iframe-expected.txt ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.h
diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h
index 5340a380b8154b9a30615ee8cfc91ccbcbdfaf6c..11d2285b8f224b9cd4975f590dc44cb7587a8d1c 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.
chrishtr 2015/07/01 19:56:51 We don't do that elsewhere, since friend classes c
Xianzhu 2015/07/01 20:10:46 Done.
+
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;
« no previous file with comments | « LayoutTests/fast/repaint/in-scaled-iframe-expected.txt ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698