Chromium Code Reviews

Unified Diff: Source/bindings/templates/callback_interface.cpp

Issue 209713003: Make DOMWrapperWorld::current() return a reference instead of a pointer (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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | Source/bindings/templates/interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/templates/callback_interface.cpp
diff --git a/Source/bindings/templates/callback_interface.cpp b/Source/bindings/templates/callback_interface.cpp
index dbdf66cca61f8dacd05fdb8d20395aef852b4b0a..591a32f0604dad710de08dcaaac617084536c274 100644
--- a/Source/bindings/templates/callback_interface.cpp
+++ b/Source/bindings/templates/callback_interface.cpp
@@ -36,7 +36,7 @@ namespace WebCore {
v8::HandleScope handleScope(m_isolate);
- v8::Handle<v8::Context> v8Context = toV8Context(executionContext(), m_world.get());
+ v8::Handle<v8::Context> v8Context = toV8Context(executionContext(), *m_world);
if (v8Context.IsEmpty())
{{return_default}};
« no previous file with comments | « no previous file | Source/bindings/templates/interface.h » ('j') | no next file with comments »

Powered by Google App Engine