| Index: Source/core/inspector/InspectorCSSAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorCSSAgent.cpp b/Source/core/inspector/InspectorCSSAgent.cpp
|
| index 9d7ee5acbb030ac1bddc7d997e7c888a08a242bf..2c5eb631f11c83b6384b157563e213637d1213cc 100644
|
| --- a/Source/core/inspector/InspectorCSSAgent.cpp
|
| +++ b/Source/core/inspector/InspectorCSSAgent.cpp
|
| @@ -782,7 +782,7 @@ void InspectorCSSAgent::getMatchedStylesForNode(ErrorString* errorString, int no
|
| if (parentElement->style() && parentElement->style()->length()) {
|
| InspectorStyleSheetForInlineStyle* styleSheet = asInspectorStyleSheet(parentElement);
|
| if (styleSheet)
|
| - entry->setInlineStyle(styleSheet->buildObjectForStyle(styleSheet->styleAt(0)));
|
| + entry->setInlineStyle(styleSheet->buildObjectForStyle(styleSheet->inlineStyle()));
|
| }
|
|
|
| entries->addItem(entry.release());
|
| @@ -815,7 +815,7 @@ void InspectorCSSAgent::getComputedStyleForNode(ErrorString* errorString, int no
|
| return;
|
|
|
| RefPtrWillBeRawPtr<CSSComputedStyleDeclaration> computedStyleInfo = CSSComputedStyleDeclaration::create(node, true);
|
| - RefPtrWillBeRawPtr<InspectorStyle> inspectorStyle = InspectorStyle::create(0, computedStyleInfo, 0);
|
| + RefPtrWillBeRawPtr<InspectorStyle> inspectorStyle = InspectorStyle::create(computedStyleInfo, nullptr, nullptr);
|
| style = inspectorStyle->buildArrayForComputedStyle();
|
| }
|
|
|
| @@ -1482,7 +1482,7 @@ PassRefPtr<TypeBuilder::CSS::CSSStyle> InspectorCSSAgent::buildObjectForAttribut
|
|
|
| MutableStylePropertySet* mutableAttributeStyle = toMutableStylePropertySet(attributeStyle);
|
|
|
| - RefPtrWillBeRawPtr<InspectorStyle> inspectorStyle = InspectorStyle::create(0, mutableAttributeStyle->ensureCSSStyleDeclaration(), 0);
|
| + RefPtrWillBeRawPtr<InspectorStyle> inspectorStyle = InspectorStyle::create(mutableAttributeStyle->ensureCSSStyleDeclaration(), nullptr, nullptr);
|
| return inspectorStyle->buildObjectForStyle();
|
| }
|
|
|
|
|