Index: content/renderer/pepper/message_channel.cc |
diff --git a/content/renderer/pepper/message_channel.cc b/content/renderer/pepper/message_channel.cc |
index 1a4e6383b524f9bd4a3b805b14aec4adf8b0d328..2b1beb8e5d992bb7ff069ebd770bb45dbf79dbaf 100644 |
--- a/content/renderer/pepper/message_channel.cc |
+++ b/content/renderer/pepper/message_channel.cc |
@@ -92,7 +92,8 @@ MessageChannel* MessageChannel::Create(PepperPluginInstanceImpl* instance, |
v8::Context::Scope context_scope(instance->GetMainWorldContext()); |
gin::Handle<MessageChannel> handle = |
gin::CreateHandle(instance->GetIsolate(), message_channel); |
- result->Reset(instance->GetIsolate(), handle.ToV8()->ToObject()); |
+ result->Reset(instance->GetIsolate(), |
+ handle.ToV8()->ToObject(instance->GetIsolate())); |
return message_channel; |
} |