| Index: Source/core/inspector/InspectorStyleSheet.cpp
|
| diff --git a/Source/core/inspector/InspectorStyleSheet.cpp b/Source/core/inspector/InspectorStyleSheet.cpp
|
| index f56293458b4eaba7f454cdeba73214af1d3ee851..3ba5912a36034c9707cdf10c5ec7e3b8fed4d332 100644
|
| --- a/Source/core/inspector/InspectorStyleSheet.cpp
|
| +++ b/Source/core/inspector/InspectorStyleSheet.cpp
|
| @@ -674,6 +674,7 @@ PassRefPtr<TypeBuilder::CSS::CSSStyle> InspectorStyle::styleWithProperties() con
|
| RefPtr<Array<TypeBuilder::CSS::ShorthandEntry> > shorthandEntries = Array<TypeBuilder::CSS::ShorthandEntry>::create();
|
| HashSet<String> foundShorthands;
|
| OwnPtr<Vector<unsigned> > lineEndings(m_parentStyleSheet ? m_parentStyleSheet->lineEndings() : PassOwnPtr<Vector<unsigned> >());
|
| + RefPtrWillBeRawPtr<CSSRuleSourceData> sourceData = extractSourceData();
|
|
|
| WillBeHeapVector<InspectorStyleProperty> properties;
|
| populateAllProperties(properties);
|
| @@ -697,8 +698,10 @@ PassRefPtr<TypeBuilder::CSS::CSSStyle> InspectorStyle::styleWithProperties() con
|
| property->setImportant(true);
|
| if (it->hasSource) {
|
| property->setRange(buildSourceRangeObject(propertyEntry.range, lineEndings.get()));
|
| - if (!propertyEntry.disabled)
|
| + if (!propertyEntry.disabled) {
|
| + ASSERT_UNUSED(sourceData, sourceData);
|
| property->setImplicit(false);
|
| + }
|
| property->setDisabled(propertyEntry.disabled);
|
| } else if (!propertyEntry.disabled) {
|
| bool implicit = m_style->isPropertyImplicit(name);
|
|
|