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

Unified Diff: Source/bindings/v8/DOMWrapperWorld.h

Issue 189513012: DOMDataStore should be cleared when shutting down worker threads (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/bindings/v8/DOMWrapperWorld.h
diff --git a/Source/bindings/v8/DOMWrapperWorld.h b/Source/bindings/v8/DOMWrapperWorld.h
index da5e3efc5ba7c60a6013b79701e78c97bf50200c..4241b6cd424ecabe53e7144f174b7167e347f85e 100644
--- a/Source/bindings/v8/DOMWrapperWorld.h
+++ b/Source/bindings/v8/DOMWrapperWorld.h
@@ -63,9 +63,10 @@ public:
static const int mainWorldExtensionGroup = 0;
static PassRefPtr<DOMWrapperWorld> ensureIsolatedWorld(int worldId, int extensionGroup);
~DOMWrapperWorld();
+ void dispose();
static bool isolatedWorldsExist() { return isolatedWorldCount; }
- static void allWorldsInMainThread(Vector<RefPtr<DOMWrapperWorld> >& worlds);
+ static void allWorldsInMainThread(Vector<DOMWrapperWorld*>& worlds);
dcarney 2014/03/10 08:12:28 i don't see what ensures the safety of this. I th
haraken 2014/03/10 08:23:57 Fixed. (Either is fine with me. Since current(),
static DOMWrapperWorld* world(v8::Handle<v8::Context> context)
{
« no previous file with comments | « no previous file | Source/bindings/v8/DOMWrapperWorld.cpp » ('j') | Source/bindings/v8/WorkerScriptController.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698