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

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

Issue 2816953002: Shorten FrameSelection::IsAppearanceDirty() call stack (Closed)
Patch Set: update 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/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 3a1de8192a5537cc6b7ed616211a494a7adcfa36..bded1f753bf2d54066954e3db8ee074b20be8f47 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -3134,7 +3134,7 @@ void FrameView::UpdateLifecyclePhasesInternal(
composited_element_ids);
}
- DCHECK(!view.HasPendingSelection());
+ DCHECK(!frame_->Selection().NeedsLayoutSelectionUpdate());
DCHECK((frame_->GetDocument()->Printing() &&
Lifecycle().GetState() == DocumentLifecycle::kPrePaintClean) ||
Lifecycle().GetState() == DocumentLifecycle::kPaintClean);
« no previous file with comments | « third_party/WebKit/Source/core/editing/FrameSelection.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698