| Index: third_party/WebKit/Source/core/inspector/InspectorState.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorState.cpp b/third_party/WebKit/Source/core/inspector/InspectorState.cpp
|
| index db0fd86ac66138bea1f616a16df0ea521eafc05b..fe3146811f686731c6f7d10d84975e725556dd05 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorState.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorState.cpp
|
| @@ -120,18 +120,13 @@ PassRefPtr<JSONObject> InspectorState::getObject(const String& propertyName)
|
| return it->value->asObject();
|
| }
|
|
|
| -DEFINE_TRACE(InspectorState)
|
| -{
|
| - visitor->trace(m_listener);
|
| -}
|
| -
|
| InspectorState* InspectorCompositeState::createAgentState(const String& agentName)
|
| {
|
| ASSERT(m_stateObject->find(agentName) == m_stateObject->end());
|
| ASSERT(m_inspectorStateMap.find(agentName) == m_inspectorStateMap.end());
|
| RefPtr<JSONObject> stateProperties = JSONObject::create();
|
| m_stateObject->setObject(agentName, stateProperties);
|
| - OwnPtrWillBeRawPtr<InspectorState> statePtr = adoptPtrWillBeNoop(new InspectorState(this, stateProperties));
|
| + OwnPtr<InspectorState> statePtr = adoptPtr(new InspectorState(this, stateProperties));
|
| InspectorState* state = statePtr.get();
|
| m_inspectorStateMap.add(agentName, statePtr.release());
|
| return state;
|
| @@ -171,12 +166,5 @@ void InspectorCompositeState::inspectorStateUpdated()
|
| m_client->updateInspectorStateCookie(m_stateObject->toJSONString());
|
| }
|
|
|
| -DEFINE_TRACE(InspectorCompositeState)
|
| -{
|
| -#if ENABLE(OILPAN)
|
| - visitor->trace(m_inspectorStateMap);
|
| -#endif
|
| -}
|
| -
|
| } // namespace blink
|
|
|
|
|