Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorState.cpp

Issue 1601283003: DevTools: deoilpanize inspector/v8 and related classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698