| Index: Source/core/inspector/InspectorCSSAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorCSSAgent.cpp b/Source/core/inspector/InspectorCSSAgent.cpp
|
| index 3ebb4b3c9421549e822db5fbfddaf794376a44d1..db350ed9c2c3017df7c8492adcd14d8f364b790b 100644
|
| --- a/Source/core/inspector/InspectorCSSAgent.cpp
|
| +++ b/Source/core/inspector/InspectorCSSAgent.cpp
|
| @@ -200,7 +200,7 @@ public:
|
| return String::format("SetStyleSheetText %s", m_styleSheet->id().utf8().data());
|
| }
|
|
|
| - virtual void merge(PassRefPtr<Action> action) OVERRIDE
|
| + virtual void merge(PassRefPtrWillBeRawPtr<Action> action) OVERRIDE
|
| {
|
| ASSERT(action->mergeId() == mergeId());
|
|
|
| @@ -256,7 +256,7 @@ public:
|
| return String::format("SetPropertyText %s:%u:%s", m_styleSheet->id().utf8().data(), m_propertyIndex, m_overwrite ? "true" : "false");
|
| }
|
|
|
| - virtual void merge(PassRefPtr<Action> action) OVERRIDE
|
| + virtual void merge(PassRefPtrWillBeRawPtr<Action> action) OVERRIDE
|
| {
|
| ASSERT(action->mergeId() == mergeId());
|
|
|
| @@ -816,7 +816,7 @@ void InspectorCSSAgent::setStyleSheetText(ErrorString* errorString, const String
|
| }
|
|
|
| TrackExceptionState exceptionState;
|
| - m_domAgent->history()->perform(adoptRef(new SetStyleSheetTextAction(inspectorStyleSheet, text)), exceptionState);
|
| + m_domAgent->history()->perform(adoptRefWillBeNoop(new SetStyleSheetTextAction(inspectorStyleSheet, text)), exceptionState);
|
| *errorString = InspectorDOMAgent::toErrorString(exceptionState);
|
| }
|
|
|
| @@ -878,7 +878,7 @@ void InspectorCSSAgent::setPropertyText(ErrorString* errorString, const String&
|
| }
|
|
|
| TrackExceptionState exceptionState;
|
| - bool success = m_domAgent->history()->perform(adoptRef(new SetPropertyTextAction(inspectorStyleSheet, compoundId, propertyIndex, text, overwrite)), exceptionState);
|
| + bool success = m_domAgent->history()->perform(adoptRefWillBeNoop(new SetPropertyTextAction(inspectorStyleSheet, compoundId, propertyIndex, text, overwrite)), exceptionState);
|
| if (success)
|
| result = inspectorStyleSheet->buildObjectForStyle(inspectorStyleSheet->styleForId(compoundId));
|
| *errorString = InspectorDOMAgent::toErrorString(exceptionState);
|
| @@ -899,7 +899,7 @@ void InspectorCSSAgent::setRuleSelector(ErrorString* errorString, const String&
|
| }
|
|
|
| TrackExceptionState exceptionState;
|
| - bool success = m_domAgent->history()->perform(adoptRef(new SetRuleSelectorAction(inspectorStyleSheet, compoundId, selector)), exceptionState);
|
| + bool success = m_domAgent->history()->perform(adoptRefWillBeNoop(new SetRuleSelectorAction(inspectorStyleSheet, compoundId, selector)), exceptionState);
|
| if (success) {
|
| CSSStyleRule* rule = inspectorStyleSheet->ruleForId(compoundId);
|
| result = inspectorStyleSheet->buildObjectForRule(rule, buildMediaListChain(rule));
|
| @@ -939,7 +939,7 @@ void InspectorCSSAgent::addRule(ErrorString* errorString, const String& styleShe
|
| return;
|
|
|
| TrackExceptionState exceptionState;
|
| - RefPtr<AddRuleAction> action = adoptRef(new AddRuleAction(inspectorStyleSheet, selector));
|
| + RefPtrWillBeRawPtr<AddRuleAction> action = adoptRefWillBeNoop(new AddRuleAction(inspectorStyleSheet, selector));
|
| bool success = m_domAgent->history()->perform(action, exceptionState);
|
| if (!success) {
|
| *errorString = InspectorDOMAgent::toErrorString(exceptionState);
|
|
|