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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js

Issue 2146233002: DevTools: reuse computedstylesmodel in the elements sidebar base class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (2) Created 4 years, 5 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: third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js b/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
index d4ca4cc4a54dabe8eca764dec32beb5c98b2a0d9..b6f2adc2028ddeadbf1370222cbe36b240f42303 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
@@ -760,7 +760,7 @@ WebInspector.ElementsPanel.prototype = {
if (!treeOutline.editing()) {
handleUndoRedo.call(null, treeOutline);
if (event.handled) {
- this.sidebarPanes.styles.onUndoOrRedoHappened();
+ this.sidebarPanes.styles.forceUpdate();
return;
}
}

Powered by Google App Engine
This is Rietveld 408576698