Commit 409f281b authored by Dave Tapuska's avatar Dave Tapuska Committed by Commit Bot

Remove UpdateHoverPostLayout runtime enable flag.

This feature has shipped for a number of releases. Remove the dynamic
setting of the feature.

BUG=488886

Change-Id: I76d1935cb5ff7e529a7943c994632cde41568f90
Reviewed-on: https://chromium-review.googlesource.com/1037929
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: default avatarMustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555199}
parent 0fbf0789
...@@ -2613,19 +2613,10 @@ void LocalFrameView::PerformPostLayoutTasks() { ...@@ -2613,19 +2613,10 @@ void LocalFrameView::PerformPostLayoutTasks() {
DCHECK(frame_->GetDocument()); DCHECK(frame_->GetDocument());
FontFaceSetDocument::DidLayout(*frame_->GetDocument()); FontFaceSetDocument::DidLayout(*frame_->GetDocument());
// Cursor update scheduling is done by the local root, which is the main frame
// if there are no RemoteFrame ancestors in the frame tree. Use of
// localFrameRoot() is discouraged but will change when cursor update
// scheduling is moved from EventHandler to PageEventHandler.
// Fire a fake a mouse move event to update hover state and mouse cursor, and // Fire a fake a mouse move event to update hover state and mouse cursor, and
// send the right mouse out/over events. // send the right mouse out/over events.
if (RuntimeEnabledFeatures::UpdateHoverPostLayoutEnabled()) { frame_->GetEventHandler().DispatchFakeMouseMoveEventSoon(
frame_->GetEventHandler().DispatchFakeMouseMoveEventSoon( MouseEventManager::FakeMouseMoveReason::kPerFrame);
MouseEventManager::FakeMouseMoveReason::kPerFrame);
} else {
GetFrame().LocalFrameRoot().GetEventHandler().ScheduleCursorUpdate();
}
UpdateGeometriesIfNeeded(); UpdateGeometriesIfNeeded();
......
...@@ -1251,10 +1251,6 @@ ...@@ -1251,10 +1251,6 @@
name: "UnifiedTouchAdjustment", name: "UnifiedTouchAdjustment",
status: "experimental", status: "experimental",
}, },
{
name: "UpdateHoverPostLayout",
status: "stable",
},
{ {
name: "UserActivationV2", name: "UserActivationV2",
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment