| Index: Source/core/inspector/InspectorCSSAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorCSSAgent.cpp b/Source/core/inspector/InspectorCSSAgent.cpp
|
| index 3837094d0f64ce1a790048bc0942a074cc27531b..554696ef8e49339237bc6141c013128189211f4c 100644
|
| --- a/Source/core/inspector/InspectorCSSAgent.cpp
|
| +++ b/Source/core/inspector/InspectorCSSAgent.cpp
|
| @@ -201,7 +201,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());
|
|
|
| @@ -257,7 +257,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());
|
|
|
| @@ -832,7 +832,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);
|
| }
|
|
|
| @@ -894,7 +894,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);
|
| @@ -915,7 +915,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));
|
| @@ -955,7 +955,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);
|
|
|