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

Unified Diff: Source/devtools/front_end/elements/SharedSidebarModel.js

Issue 1164123002: Devtools: Synchronization state in ElementStatePaneWidget with contextMenu (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/elements/ElementStatePaneWidget.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/elements/SharedSidebarModel.js
diff --git a/Source/devtools/front_end/elements/SharedSidebarModel.js b/Source/devtools/front_end/elements/SharedSidebarModel.js
index 85131182433b89b68f52fd8f7d0d43930cd2c50c..43e1591ab07fef854f58eb8803f9babb2a3d431d 100644
--- a/Source/devtools/front_end/elements/SharedSidebarModel.js
+++ b/Source/devtools/front_end/elements/SharedSidebarModel.js
@@ -71,7 +71,7 @@ WebInspector.SharedSidebarModel.prototype = {
this._cssModel.removeEventListener(WebInspector.CSSStyleModel.Events.StyleSheetChanged, this._onComputedStyleChanged, this);
this._cssModel.removeEventListener(WebInspector.CSSStyleModel.Events.MediaQueryResultChanged, this._onComputedStyleChanged, this);
this._cssModel.removeEventListener(WebInspector.CSSStyleModel.Events.PseudoStateForced, this._onComputedStyleChanged, this);
- this._cssModel.addEventListener(WebInspector.CSSStyleModel.Events.ModelWasEnabled, this._onComputedStyleChanged, this);
+ this._cssModel.removeEventListener(WebInspector.CSSStyleModel.Events.ModelWasEnabled, this._onComputedStyleChanged, this);
this._domModel.removeEventListener(WebInspector.DOMModel.Events.DOMMutated, this._onComputedStyleChanged, this);
}
this._target = target;
« no previous file with comments | « Source/devtools/front_end/elements/ElementStatePaneWidget.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698