| Index: WebCore/inspector/InspectorCSSAgent.cpp
|
| ===================================================================
|
| --- WebCore/inspector/InspectorCSSAgent.cpp (revision 75605)
|
| +++ WebCore/inspector/InspectorCSSAgent.cpp (working copy)
|
| @@ -186,7 +186,7 @@
|
| resultObject->setObject("inlineStyle", styleSheet->buildObjectForStyle(element->style()));
|
|
|
| RefPtr<CSSComputedStyleDeclaration> computedStyleInfo = computedStyle(element, true); // Support the viewing of :visited information in computed style.
|
| - RefPtr<InspectorStyle> computedInspectorStyle = InspectorStyle::create(InspectorCSSId(), computedStyleInfo.get(), 0);
|
| + RefPtr<InspectorStyle> computedInspectorStyle = InspectorStyle::create(InspectorCSSId(), computedStyleInfo, 0);
|
| resultObject->setObject("computedStyle", computedInspectorStyle->buildObjectForStyle());
|
|
|
| CSSStyleSelector* selector = element->ownerDocument()->styleSelector();
|
| @@ -248,7 +248,7 @@
|
| return;
|
|
|
| RefPtr<CSSComputedStyleDeclaration> computedStyleInfo = computedStyle(element, true);
|
| - RefPtr<InspectorStyle> inspectorStyle = InspectorStyle::create(InspectorCSSId(), computedStyleInfo.get(), 0);
|
| + RefPtr<InspectorStyle> inspectorStyle = InspectorStyle::create(InspectorCSSId(), computedStyleInfo, 0);
|
| *style = inspectorStyle->buildObjectForStyle();
|
| }
|
|
|
|
|