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

Unified Diff: content/renderer/pepper/message_channel.cc

Issue 744723002: remove some calls to to-be-deprecated v8::Value::To* functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « content/renderer/chrome_object_extensions_utils.cc ('k') | content/renderer/pepper/v8_var_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « content/renderer/chrome_object_extensions_utils.cc ('k') | content/renderer/pepper/v8_var_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698