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

Unified Diff: third_party/WebKit/Source/core/editing/FrameSelection.cpp

Issue 2849403002: Use const ref for LocalFrame::LocalFrameRoot and FrameTree::Top (Closed)
Patch Set: fix compile and dchecks Created 3 years, 8 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: third_party/WebKit/Source/core/editing/FrameSelection.cpp
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.cpp b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
index 87ec20377a9264488e300255fbd46ffb3ea3af8e..766fc521105c1f2e2c4e8caf63c1c28144846acb 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
@@ -1048,7 +1048,7 @@ DEFINE_TRACE(FrameSelection) {
void FrameSelection::ScheduleVisualUpdate() const {
if (Page* page = frame_->GetPage())
- page->Animator().ScheduleVisualUpdate(frame_->LocalFrameRoot());
+ page->Animator().ScheduleVisualUpdate(&frame_->LocalFrameRoot());
}
void FrameSelection::ScheduleVisualUpdateForPaintInvalidationIfNeeded() const {
« no previous file with comments | « third_party/WebKit/Source/core/dom/IntersectionObservation.cpp ('k') | third_party/WebKit/Source/core/frame/DOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698