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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 1843603002: [Layout API] Add LocalFrame::contentLayoutItem and use in VisualViewport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | third_party/WebKit/Source/core/frame/LocalFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 663f5a15cb97403ec1ae4300e0952cfd6f0e85e6..b522b3a9aeddfa0fdd5edd30f6b7b16affef197d 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -2895,7 +2895,7 @@ void FrameView::setTracksPaintInvalidations(bool trackPaintInvalidations)
for (Frame* frame = m_frame->tree().top(); frame; frame = frame->tree().traverseNext()) {
if (!frame->isLocalFrame())
continue;
- if (LayoutViewItem layoutView = LayoutViewItem(toLocalFrame(frame)->contentLayoutObject()))
+ if (LayoutViewItem layoutView = toLocalFrame(frame)->contentLayoutItem())
layoutView.compositor()->setTracksPaintInvalidations(trackPaintInvalidations);
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/LocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698