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

Unified Diff: trunk/Source/devtools/front_end/StylesSidebarPane.js

Issue 202443003: Revert 169354 "DevTools: track stylesheets by document, not loca..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 9 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 | « trunk/Source/core/inspector/InspectorInstrumentation.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/devtools/front_end/StylesSidebarPane.js
===================================================================
--- trunk/Source/devtools/front_end/StylesSidebarPane.js (revision 169388)
+++ trunk/Source/devtools/front_end/StylesSidebarPane.js (working copy)
@@ -2266,8 +2266,6 @@
*/
function callback(newStyle)
{
- delete this._parentPane._userOperation;
-
if (!newStyle)
return;
@@ -2280,6 +2278,8 @@
section.pane.dispatchEventToListeners("style property toggled");
this._updatePane();
+
+ delete this._parentPane._userOperation;
}
this._parentPane._userOperation = true;
« no previous file with comments | « trunk/Source/core/inspector/InspectorInstrumentation.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698