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

Unified Diff: content/child/webmessageportchannel_impl.cc

Issue 1113783002: Use Local instead of Handle in src/content/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « content/child/v8_value_converter_impl_unittest.cc ('k') | content/public/child/v8_value_converter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webmessageportchannel_impl.cc
diff --git a/content/child/webmessageportchannel_impl.cc b/content/child/webmessageportchannel_impl.cc
index 86764afb268d47f893c89a85bee919fdf63eb04a..332959f25b32771a5733a28e93f460c0097c631c 100644
--- a/content/child/webmessageportchannel_impl.cc
+++ b/content/child/webmessageportchannel_impl.cc
@@ -153,7 +153,7 @@ void WebMessagePortChannelImpl::postMessage(
if (send_messages_as_values_) {
blink::WebSerializedScriptValue serialized_value =
blink::WebSerializedScriptValue::fromString(message_as_string);
- v8::Handle<v8::Value> v8_value = serialized_value.deserialize();
+ v8::Local<v8::Value> v8_value = serialized_value.deserialize();
scoped_ptr<V8ValueConverter> converter(V8ValueConverter::create());
converter->SetDateAllowed(true);
converter->SetRegExpAllowed(true);
@@ -194,7 +194,7 @@ bool WebMessagePortChannelImpl::tryGetMessage(
scoped_ptr<V8ValueConverter> converter(V8ValueConverter::create());
converter->SetDateAllowed(true);
converter->SetRegExpAllowed(true);
- v8::Handle<v8::Value> v8_value = converter->ToV8Value(
+ v8::Local<v8::Value> v8_value = converter->ToV8Value(
data.as_value(), client_->scriptContextForMessageConversion());
blink::WebSerializedScriptValue serialized_value =
blink::WebSerializedScriptValue::serialize(v8_value);
« no previous file with comments | « content/child/v8_value_converter_impl_unittest.cc ('k') | content/public/child/v8_value_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698