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

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

Issue 1088093002: Revert of DevTools: allow storing devtools preferences on the browser side. [blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
Index: Source/devtools/front_end/sources/AdvancedSearchView.js
diff --git a/Source/devtools/front_end/sources/AdvancedSearchView.js b/Source/devtools/front_end/sources/AdvancedSearchView.js
index 70c4a43717a1188f53c25057dad2b669d6ce77be..2e65364c05feea4da15802c4093dafb710a3bdbb 100644
--- a/Source/devtools/front_end/sources/AdvancedSearchView.js
+++ b/Source/devtools/front_end/sources/AdvancedSearchView.js
@@ -47,7 +47,7 @@
this._searchStatusBarElement.createChild("div", "search-message-spacer");
this._searchResultsMessageElement = this._searchStatusBarElement.createChild("div", "search-message");
- this._advancedSearchConfig = WebInspector.settings.createLocalSetting("advancedSearchConfig", new WebInspector.SearchConfig("", true, false).toPlainObject());
+ this._advancedSearchConfig = WebInspector.settings.createSetting("advancedSearchConfig", new WebInspector.SearchConfig("", true, false).toPlainObject());
this._load();
WebInspector.AdvancedSearchView._instance = this;
/** @type {!WebInspector.SearchScope} */

Powered by Google App Engine
This is Rietveld 408576698