| Index: third_party/WebKit/Source/core/inspector/InspectorHistory.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorHistory.cpp b/third_party/WebKit/Source/core/inspector/InspectorHistory.cpp
|
| index 3f672a5dc00b9b3ae0a53f6074a96bbfb34d831a..059523290479fd3e1101017ee225b3b6b52daa90 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorHistory.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorHistory.cpp
|
| @@ -80,13 +80,13 @@ String InspectorHistory::Action::mergeId()
|
| return "";
|
| }
|
|
|
| -void InspectorHistory::Action::merge(PassRefPtrWillBeRawPtr<Action>)
|
| +void InspectorHistory::Action::merge(RawPtr<Action>)
|
| {
|
| }
|
|
|
| InspectorHistory::InspectorHistory() : m_afterLastActionIndex(0) { }
|
|
|
| -bool InspectorHistory::perform(PassRefPtrWillBeRawPtr<Action> action, ExceptionState& exceptionState)
|
| +bool InspectorHistory::perform(RawPtr<Action> action, ExceptionState& exceptionState)
|
| {
|
| if (!action->perform(exceptionState))
|
| return false;
|
| @@ -94,7 +94,7 @@ bool InspectorHistory::perform(PassRefPtrWillBeRawPtr<Action> action, ExceptionS
|
| return true;
|
| }
|
|
|
| -void InspectorHistory::appendPerformedAction(PassRefPtrWillBeRawPtr<Action> action)
|
| +void InspectorHistory::appendPerformedAction(RawPtr<Action> action)
|
| {
|
| if (!action->mergeId().isEmpty() && m_afterLastActionIndex > 0 && action->mergeId() == m_history[m_afterLastActionIndex - 1]->mergeId()) {
|
| m_history[m_afterLastActionIndex - 1]->merge(action);
|
| @@ -110,7 +110,7 @@ void InspectorHistory::appendPerformedAction(PassRefPtrWillBeRawPtr<Action> acti
|
|
|
| void InspectorHistory::markUndoableState()
|
| {
|
| - perform(adoptRefWillBeNoop(new UndoableStateMark()), IGNORE_EXCEPTION);
|
| + perform(new UndoableStateMark(), IGNORE_EXCEPTION);
|
| }
|
|
|
| bool InspectorHistory::undo(ExceptionState& exceptionState)
|
|
|