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

Unified Diff: chrome/browser/browser.cc

Issue 3453016: Fixes bug where match preview wouldn't get hidden if match preview was (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/tab_contents/match_preview.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser.cc
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index d636310269d8edc1382cc6af78911b501173cebb..f777f25a95c366562bf096efd05bb5cedcfdcbe1 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -3266,8 +3266,7 @@ void Browser::ShowMatchPreview() {
}
void Browser::HideMatchPreview() {
- if (match_preview_->tab_contents() == GetSelectedTabContents())
- window_->HideMatchPreview();
+ window_->HideMatchPreview();
}
void Browser::CommitMatchPreview() {
« no previous file with comments | « no previous file | chrome/browser/tab_contents/match_preview.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698