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

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

Issue 1085253003: Revert of 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/WatchExpressionsSidebarPane.js
diff --git a/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js b/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
index eded1b2308d7686acc74d75e28944ef96a0fd762..a015d326935913ee3aec65a28e77745b0da29c2e 100644
--- a/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
+++ b/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
@@ -39,7 +39,7 @@
this._requiresUpdate = true;
/** @type {!Array.<!WebInspector.WatchExpression>} */
this._watchExpressions = [];
- this._watchExpressionsSetting = WebInspector.settings.createSetting("watchExpressions", []);
+ this._watchExpressionsSetting = WebInspector.settings.createLocalSetting("watchExpressions", []);
this.registerRequiredCSS("components/objectValue.css");
this.bodyElement.classList.add("vbox", "watch-expressions");

Powered by Google App Engine
This is Rietveld 408576698