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

Unified Diff: Source/devtools/front_end/sdk/CSSStyleModel.js

Issue 980883002: Merge 190855 "[DevTools] Teach MediaQueryInspector about disabli..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2311/
Patch Set: Created 5 years, 10 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 | Source/devtools/front_end/toolbox/MediaQueryInspector.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sdk/CSSStyleModel.js
===================================================================
--- Source/devtools/front_end/sdk/CSSStyleModel.js (revision 191365)
+++ Source/devtools/front_end/sdk/CSSStyleModel.js (working copy)
@@ -84,11 +84,11 @@
{
this._agent.disable();
this._isEnabled = false;
- this._resetStyleSheets();
},
resumeModel: function()
{
+ this._resetStyleSheets();
this._agent.enable(this._wasEnabled.bind(this));
},
« no previous file with comments | « no previous file | Source/devtools/front_end/toolbox/MediaQueryInspector.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698