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 05fe5c614808e07cd0e10e86da7e4b0bb0fafa57..ed1dc52870fc88d5d648aa72c53c0715b2d94a43 100644 |
--- a/Source/devtools/front_end/elements/StylesSidebarPane.js |
+++ b/Source/devtools/front_end/elements/StylesSidebarPane.js |
@@ -2454,7 +2454,7 @@ WebInspector.ComputedStylePropertiesSection.prototype = { |
WebInspector.BlankStylePropertiesSection = function(stylesPane, defaultSelectorText, styleSheetId, ruleLocation, insertAfterStyleRule) |
{ |
var dummyCascade = new WebInspector.SectionCascade(); |
- var blankSectionModel = dummyCascade.appendModelFromStyle(WebInspector.CSSStyleDeclaration.createDummyStyle(), defaultSelectorText); |
+ var blankSectionModel = dummyCascade.appendModelFromStyle(WebInspector.CSSStyleDeclaration.createDummyStyle(stylesPane._target), defaultSelectorText); |
blankSectionModel.setEditable(true); |
WebInspector.StylePropertiesSection.call(this, stylesPane, blankSectionModel); |
this._ruleLocation = ruleLocation; |