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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.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/layout/LayoutView.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
index 22314dc7eeb4dd3d1cd2f2540c41434e4982c56a..0d8f6a3b098d898865d1b0a561551513af431a06 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
@@ -897,10 +897,6 @@ void LayoutView::ClearSelection() {
frame_view_->GetFrame().Selection().ClearLayoutSelection();
}
-bool LayoutView::HasPendingSelection() const {
- return frame_view_->GetFrame().Selection().IsAppearanceDirty();
-}
-
void LayoutView::CommitPendingSelection() {
TRACE_EVENT0("blink", "LayoutView::commitPendingSelection");
frame_view_->GetFrame().Selection().CommitAppearanceIfNeeded(*this);
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutView.h ('k') | third_party/WebKit/Source/core/layout/api/LayoutViewItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698