Index: trunk/Source/bindings/v8/MIDIAccessResolver.cpp |
=================================================================== |
--- trunk/Source/bindings/v8/MIDIAccessResolver.cpp (revision 170423) |
+++ trunk/Source/bindings/v8/MIDIAccessResolver.cpp (working copy) |
@@ -24,7 +24,7 @@ |
void MIDIAccessResolver::resolve(MIDIAccess* access, ExecutionContext* executionContext) |
{ |
v8::HandleScope handleScope(toIsolate(executionContext)); |
- v8::Context::Scope contextScope(toV8Context(executionContext, m_world.get())); |
+ v8::Context::Scope contextScope(toV8Context(executionContext, *m_world)); |
m_resolver->resolve(access, executionContext); |
} |
@@ -32,7 +32,7 @@ |
void MIDIAccessResolver::reject(DOMError* error, ExecutionContext* executionContext) |
{ |
v8::HandleScope handleScope(toIsolate(executionContext)); |
- v8::Context::Scope contextScope(toV8Context(executionContext, m_world.get())); |
+ v8::Context::Scope contextScope(toV8Context(executionContext, *m_world)); |
m_resolver->reject(error, executionContext); |
} |