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

Unified Diff: Source/devtools/front_end/sources/SourcesView.js

Issue 669043002: DevTools: Fix the way search works when switching between editor tabs. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comments addressed Created 6 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
« no previous file with comments | « Source/devtools/front_end/source_frame/SourceFrame.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sources/SourcesView.js
diff --git a/Source/devtools/front_end/sources/SourcesView.js b/Source/devtools/front_end/sources/SourcesView.js
index baa08dd4bebc225d2bda2431349a77e557d8cbdd..0449f3323b7fffb5b25f7c68c160b5ff3e5c154a 100644
--- a/Source/devtools/front_end/sources/SourcesView.js
+++ b/Source/devtools/front_end/sources/SourcesView.js
@@ -480,7 +480,7 @@ WebInspector.SourcesView.prototype = {
this._historyManager.pushNewState();
this._searchableView.setReplaceable(!!sourceFrame && sourceFrame.canEditSource());
- this._searchableView.resetSearch();
+ this._searchableView.refreshSearch();
this.dispatchEventToListeners(WebInspector.SourcesView.Events.EditorSelected, uiSourceCode);
},
« no previous file with comments | « Source/devtools/front_end/source_frame/SourceFrame.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698