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

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

Issue 2201853002: Blink handle selection handle visibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: try running even rebaseline tests Created 4 years, 2 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 e2dd2aa4b213b6a509bff7794b8855602d7f1841..6c40a26c8c5adb57d325893bf0917ca865f42c4a 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -1754,7 +1754,7 @@ bool FrameView::computeCompositedSelection(LocalFrame& frame,
return false;
const VisibleSelection& visibleSelection = frame.selection().selection();
- if (visibleSelection.isNone())
+ if (visibleSelection.isNone() || !visibleSelection.isHandleVisible())
return false;
// Non-editable caret selections lack any kind of UI affordance, and

Powered by Google App Engine
This is Rietveld 408576698