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

Unified Diff: chrome/renderer/translate/translate_script_browsertest.cc

Issue 1103273009: Use v8::Local inplace of v8::Handle in src/chrome/* (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 | « chrome/renderer/searchbox/searchbox_extension.cc ('k') | chrome/test/base/v8_unit_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/translate/translate_script_browsertest.cc
diff --git a/chrome/renderer/translate/translate_script_browsertest.cc b/chrome/renderer/translate/translate_script_browsertest.cc
index 5399ba8cc0f3b9ca627cb7de574d3f70189ac7b7..5d246dc1d754f0ceeb9d8fe106da5588a4fa2093 100644
--- a/chrome/renderer/translate/translate_script_browsertest.cc
+++ b/chrome/renderer/translate/translate_script_browsertest.cc
@@ -109,7 +109,7 @@ class TranslateScriptBrowserTest : public ChromeRenderViewTest {
double ExecuteScriptAndGetNumberResult(const std::string& script) {
WebScriptSource source = WebScriptSource(base::ASCIIToUTF16(script));
v8::HandleScope handle_scope(v8::Isolate::GetCurrent());
- v8::Handle<v8::Value> result =
+ v8::Local<v8::Value> result =
GetMainFrame()->executeScriptAndReturnValue(source);
if (result.IsEmpty() || !result->IsNumber()) {
NOTREACHED();
@@ -123,7 +123,7 @@ class TranslateScriptBrowserTest : public ChromeRenderViewTest {
bool ExecuteScriptAndGetBoolResult(const std::string& script) {
WebScriptSource source = WebScriptSource(base::ASCIIToUTF16(script));
v8::HandleScope handle_scope(v8::Isolate::GetCurrent());
- v8::Handle<v8::Value> result =
+ v8::Local<v8::Value> result =
GetMainFrame()->executeScriptAndReturnValue(source);
if (result.IsEmpty() || !result->IsBoolean()) {
NOTREACHED();
« no previous file with comments | « chrome/renderer/searchbox/searchbox_extension.cc ('k') | chrome/test/base/v8_unit_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698