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

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

Issue 180773003: Simplify the way to initialize context (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 30758649db0293df4e6661df755f12f16779395f..22c54b75c020b416abc9cc704db63053b0abd64a 100644
--- a/Source/bindings/v8/DOMWrapperWorld.h
+++ b/Source/bindings/v8/DOMWrapperWorld.h
@@ -68,7 +68,7 @@ public:
static DOMWrapperWorld* world(v8::Handle<v8::Context> context)
{
ASSERT(contextHasCorrectPrototype(context));
- return V8PerContextDataHolder::from(context)->world();
+ return V8PerContextData::from(context)->world();
}
// Will return null if there is no DOMWrapperWorld for the current v8::Context
« no previous file with comments | « no previous file | Source/bindings/v8/ScriptPromiseResolverTest.cpp » ('j') | Source/bindings/v8/ScriptPromiseResolverTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698