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

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

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.h
diff --git a/Source/modules/geolocation/GeolocationInspectorAgent.h b/Source/modules/geolocation/GeolocationInspectorAgent.h
index 906ae6ff3edae9ce94bffcd88f5c2f1a60695b27..c894764f95974db42c9d477f83813e71832e0881 100644
--- a/Source/modules/geolocation/GeolocationInspectorAgent.h
+++ b/Source/modules/geolocation/GeolocationInspectorAgent.h
@@ -46,8 +46,9 @@ typedef String ErrorString;
class GeolocationInspectorAgent FINAL : public InspectorBaseAgent<GeolocationInspectorAgent>, public InspectorBackendDispatcher::GeolocationCommandHandler {
WTF_MAKE_NONCOPYABLE(GeolocationInspectorAgent);
public:
- static PassOwnPtr<GeolocationInspectorAgent> create(GeolocationController*);
+ static PassOwnPtrWillBeRawPtr<GeolocationInspectorAgent> create(GeolocationController*);
virtual ~GeolocationInspectorAgent();
+ virtual void trace(Visitor*) OVERRIDE;
// Protocol methods.
virtual void setGeolocationOverride(ErrorString*, const double*, const double*, const double*) OVERRIDE;
@@ -60,8 +61,8 @@ private:
explicit GeolocationInspectorAgent(GeolocationController*);
GeolocationController* m_controller;
bool m_geolocationOverridden;
- RefPtrWillBePersistent<GeolocationPosition> m_geolocationPosition;
- RefPtrWillBePersistent<GeolocationPosition> m_platformGeolocationPosition;
+ RefPtrWillBeMember<GeolocationPosition> m_geolocationPosition;
+ RefPtrWillBeMember<GeolocationPosition> m_platformGeolocationPosition;
};
« no previous file with comments | « Source/modules/geolocation/GeolocationController.cpp ('k') | Source/modules/geolocation/GeolocationInspectorAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698