Index: content/shell/renderer/test_runner/event_sender.cc |
diff --git a/content/shell/renderer/test_runner/event_sender.cc b/content/shell/renderer/test_runner/event_sender.cc |
index e54a95872fe3f239c7419605f20afb26038ba3c8..ab9af232823194aae2e55c1148992fd51ab838b4 100644 |
--- a/content/shell/renderer/test_runner/event_sender.cc |
+++ b/content/shell/renderer/test_runner/event_sender.cc |
@@ -117,7 +117,7 @@ int GetKeyModifiers(const std::vector<std::string>& modifier_names) { |
return modifiers; |
} |
-int GetKeyModifiersFromV8(v8::Handle<v8::Value> value) { |
+int GetKeyModifiersFromV8(v8::Local<v8::Value> value) { |
std::vector<std::string> modifier_names; |
if (value->IsString()) { |
modifier_names.push_back(gin::V8ToString(value)); |
@@ -483,7 +483,7 @@ void EventSenderBindings::Install(base::WeakPtr<EventSender> sender, |
WebFrame* frame) { |
v8::Isolate* isolate = blink::mainThreadIsolate(); |
v8::HandleScope handle_scope(isolate); |
- v8::Handle<v8::Context> context = frame->mainWorldScriptContext(); |
+ v8::Local<v8::Context> context = frame->mainWorldScriptContext(); |
if (context.IsEmpty()) |
return; |
@@ -493,7 +493,7 @@ void EventSenderBindings::Install(base::WeakPtr<EventSender> sender, |
gin::CreateHandle(isolate, new EventSenderBindings(sender)); |
if (bindings.IsEmpty()) |
return; |
- v8::Handle<v8::Object> global = context->Global(); |
+ v8::Local<v8::Object> global = context->Global(); |
global->Set(gin::StringToV8(isolate, "eventSender"), bindings.ToV8()); |
} |
@@ -931,7 +931,7 @@ void EventSenderBindings::ScheduleAsynchronousKeyDown(gin::Arguments* args) { |
int location = DOMKeyLocationStandard; |
args->GetNext(&code_str); |
if (!args->PeekNext().IsEmpty()) { |
- v8::Handle<v8::Value> value; |
+ v8::Local<v8::Value> value; |
args->GetNext(&value); |
modifiers = GetKeyModifiersFromV8(value); |
if (!args->PeekNext().IsEmpty()) |
@@ -978,7 +978,7 @@ void EventSenderBindings::KeyDown(gin::Arguments* args) { |
int location = DOMKeyLocationStandard; |
args->GetNext(&code_str); |
if (!args->PeekNext().IsEmpty()) { |
- v8::Handle<v8::Value> value; |
+ v8::Local<v8::Value> value; |
args->GetNext(&value); |
modifiers = GetKeyModifiersFromV8(value); |
if (!args->PeekNext().IsEmpty()) |
@@ -2381,7 +2381,7 @@ void EventSender::InitMouseWheelEvent(gin::Arguments* args, |
if (!args->PeekNext().IsEmpty()) { |
args->GetNext(&has_precise_scrolling_deltas); |
if (!args->PeekNext().IsEmpty()) { |
- v8::Handle<v8::Value> value; |
+ v8::Local<v8::Value> value; |
args->GetNext(&value); |
modifiers = GetKeyModifiersFromV8(value); |
if (!args->PeekNext().IsEmpty()) |