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

Unified Diff: extensions/renderer/user_gestures_native_handler.cc

Issue 1115563002: extensions/renderer: Use v8::Local instead of v8::Handle. (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 | « extensions/renderer/send_request_natives.cc ('k') | extensions/renderer/utils_native_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/user_gestures_native_handler.cc
diff --git a/extensions/renderer/user_gestures_native_handler.cc b/extensions/renderer/user_gestures_native_handler.cc
index 9875ac020748e39eea04ab5c47aadcce153cba37..852762c0e2c3db1197b2304dfdcbe954f819b952 100644
--- a/extensions/renderer/user_gestures_native_handler.cc
+++ b/extensions/renderer/user_gestures_native_handler.cc
@@ -36,8 +36,8 @@ void UserGesturesNativeHandler::RunWithUserGesture(
blink::WebScopedUserGesture user_gesture;
CHECK_EQ(args.Length(), 1);
CHECK(args[0]->IsFunction());
- v8::Handle<v8::Value> no_args;
- context()->CallFunction(v8::Handle<v8::Function>::Cast(args[0]), 0, &no_args);
+ v8::Local<v8::Value> no_args;
+ context()->CallFunction(v8::Local<v8::Function>::Cast(args[0]), 0, &no_args);
}
void UserGesturesNativeHandler::RunWithoutUserGesture(
@@ -45,8 +45,8 @@ void UserGesturesNativeHandler::RunWithoutUserGesture(
blink::WebUserGestureIndicator::consumeUserGesture();
CHECK_EQ(args.Length(), 1);
CHECK(args[0]->IsFunction());
- v8::Handle<v8::Value> no_args;
- context()->CallFunction(v8::Handle<v8::Function>::Cast(args[0]), 0, &no_args);
+ v8::Local<v8::Value> no_args;
+ context()->CallFunction(v8::Local<v8::Function>::Cast(args[0]), 0, &no_args);
}
} // namespace extensions
« no previous file with comments | « extensions/renderer/send_request_natives.cc ('k') | extensions/renderer/utils_native_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698