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

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

Issue 666163003: DevTools: [SSP] do not rebuild styles when sidebar pane is not showing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 | 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/StylesSidebarPane.js
diff --git a/Source/devtools/front_end/elements/StylesSidebarPane.js b/Source/devtools/front_end/elements/StylesSidebarPane.js
index 3fccbe8e8cc452d634d0dff7e7953180db05c289..81f6b0a654327fb5d3b07d9368e7f2b613e8e88c 100644
--- a/Source/devtools/front_end/elements/StylesSidebarPane.js
+++ b/Source/devtools/front_end/elements/StylesSidebarPane.js
@@ -547,7 +547,7 @@ WebInspector.StylesSidebarPane.prototype = {
_styleSheetOrMediaQueryResultChanged: function()
{
- if (this._userOperation || this._isEditingStyle)
+ if (this._userOperation || this._isEditingStyle || !this.isShowing())
vsevik 2014/10/21 15:32:32 Shouldn't we schedule an update when shown?
return;
this._rebuildUpdate();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698