Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
| index 28eedc23f4786d47ea05dc1201af0abca79f5e24..2cd97586c57b4419c38a01755b6b232691f9dc83 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
| @@ -382,7 +382,8 @@ WebInspector.StylesSidebarPane.prototype = { |
| if (!cssModel || !node) |
| return; |
| this._userOperation = true; |
| - cssModel.requestViaInspectorStylesheet(node, onViaInspectorStyleSheet.bind(this)); |
| + var frameId = node.frameId() || this.resourceTreeModel().mainFrame.id; |
|
pfeldman
2016/07/27 17:54:35
We should be able to operate nodes only here.
eostroukhov-old
2016/08/05 18:32:03
Reverted the change.
|
| + cssModel.requestViaInspectorStylesheet(node, frameId, onViaInspectorStyleSheet.bind(this)); |
| /** |
| * @param {?WebInspector.CSSStyleSheetHeader} styleSheetHeader |