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(); |