| 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 5121862a94ec7c485a5898932a926e6544e7ec2a..343bec145d51e2d224f9cf1f4b36e1d2322d635b 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| @@ -615,7 +615,8 @@ void LayoutView::ClearSelection() {
|
|
|
| void LayoutView::CommitPendingSelection() {
|
| TRACE_EVENT0("blink", "LayoutView::commitPendingSelection");
|
| - frame_view_->GetFrame().Selection().CommitAppearanceIfNeeded(*this);
|
| + DCHECK(!NeedsLayout());
|
| + frame_view_->GetFrame().Selection().CommitAppearanceIfNeeded();
|
| }
|
|
|
| bool LayoutView::ShouldUsePrintingLayout() const {
|
|
|