Commit 9e705cbf authored by Evan Stade's avatar Evan Stade Committed by Commit Bot

Revert "WebLayer: enable SmartSelectionClient on SelectionPopupController."

This reverts 5c7bccda.

It will be re-landed along with a fix for the memory leak.

TBR=boliu@chromium.org

Bug: 1057127
Change-Id: I4c4cf16a9b94a37a5b77f77c89b948d8aecc48ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2083745Reviewed-by: default avatarEvan Stade <estade@chromium.org>
Commit-Queue: Evan Stade <estade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#746184}
parent 3f6718f4
......@@ -27,7 +27,6 @@ import org.chromium.components.find_in_page.FindInPageBridge;
import org.chromium.components.find_in_page.FindMatchRectsDetails;
import org.chromium.components.find_in_page.FindResultBar;
import org.chromium.content_public.browser.NavigationHandle;
import org.chromium.content_public.browser.SelectionClient;
import org.chromium.content_public.browser.SelectionPopupController;
import org.chromium.content_public.browser.ViewEventSink;
import org.chromium.content_public.browser.WebContents;
......@@ -182,7 +181,6 @@ public final class TabImpl extends ITab.Stub {
SelectionPopupController controller =
SelectionPopupController.fromWebContents(mWebContents);
controller.setActionModeCallback(new ActionModeCallback(mWebContents));
controller.setSelectionClient(SelectionClient.createSmartSelectionClient(mWebContents));
}
public void updateFromBrowser() {
......
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