summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
m---------src/3rdparty0
-rw-r--r--src/core/web_contents_adapter.cpp3
2 files changed, 3 insertions, 0 deletions
diff --git a/src/3rdparty b/src/3rdparty
-Subproject d0dbe5636cb9d424db0c7ee7850c97d57815013
+Subproject 79930a541473b2e0f950d040c16ab6f22e4aeef
diff --git a/src/core/web_contents_adapter.cpp b/src/core/web_contents_adapter.cpp
index c450768fa..709efe9b3 100644
--- a/src/core/web_contents_adapter.cpp
+++ b/src/core/web_contents_adapter.cpp
@@ -782,6 +782,9 @@ void WebContentsAdapter::stopFinding()
{
Q_D(WebContentsAdapter);
d->webContentsDelegate->setLastSearchedString(QString());
+ // Clear any previous selection,
+ // but keep the renderer blue rectangle selection just like Chromium does.
+ d->webContents->Unselect();
d->webContents->StopFinding(content::STOP_FIND_ACTION_KEEP_SELECTION);
}