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

Unified Diff: Source/modules/geolocation/GeolocationInspectorAgent.cpp

Issue 306053010: Tried using CrossThreadPersistent for workerDebuggerAgents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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: Source/modules/geolocation/GeolocationInspectorAgent.cpp
diff --git a/Source/modules/geolocation/GeolocationInspectorAgent.cpp b/Source/modules/geolocation/GeolocationInspectorAgent.cpp
index 902ca14abd37ae6951f892da8a8c7b79e0e8a5ba..e6de85b8ea10702111eef782ffce76a5177e75de 100644
--- a/Source/modules/geolocation/GeolocationInspectorAgent.cpp
+++ b/Source/modules/geolocation/GeolocationInspectorAgent.cpp
@@ -35,9 +35,9 @@
namespace WebCore {
-PassOwnPtr<GeolocationInspectorAgent> GeolocationInspectorAgent::create(GeolocationController* controller)
+PassOwnPtrWillBeRawPtr<GeolocationInspectorAgent> GeolocationInspectorAgent::create(GeolocationController* controller)
{
- return adoptPtr(new GeolocationInspectorAgent(controller));
+ return adoptPtrWillBeNoop(new GeolocationInspectorAgent(controller));
}
GeolocationInspectorAgent::~GeolocationInspectorAgent()
@@ -87,4 +87,11 @@ GeolocationPosition* GeolocationInspectorAgent::overrideGeolocationPosition(Geol
return position;
}
+void GeolocationInspectorAgent::trace(Visitor* visitor)
+{
+ visitor->trace(m_geolocationPosition);
+ visitor->trace(m_platformGeolocationPosition);
+ InspectorBaseAgent::trace(visitor);
+}
+
} // namespace WebCore
« no previous file with comments | « Source/modules/geolocation/GeolocationInspectorAgent.h ('k') | Source/modules/indexeddb/InspectorIndexedDBAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698