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

Unified Diff: Source/bindings/core/v8/ScriptFunctionCall.cpp

Issue 1126003002: Replace v8::Handle with v8::Local in {ScriptFunctionCall.cpp, ToV8.h}. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | Source/bindings/core/v8/ToV8.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ScriptFunctionCall.cpp
diff --git a/Source/bindings/core/v8/ScriptFunctionCall.cpp b/Source/bindings/core/v8/ScriptFunctionCall.cpp
index 56e4fe369c2a3c9b77539b482aa07c2a9e35981d..b92377d925d4bb3afc6774bd1cbd824b25e175de 100644
--- a/Source/bindings/core/v8/ScriptFunctionCall.cpp
+++ b/Source/bindings/core/v8/ScriptFunctionCall.cpp
@@ -138,13 +138,13 @@ ScriptValue ScriptFunctionCall::callWithoutExceptionHandling()
return ScriptValue(m_scriptState.get(), result);
}
-v8::Handle<v8::Function> ScriptFunctionCall::function()
+v8::Local<v8::Function> ScriptFunctionCall::function()
{
v8::TryCatch tryCatch;
v8::Local<v8::Object> thisObject = v8::Local<v8::Object>::Cast(m_thisObject.v8Value());
v8::Local<v8::Value> value;
if (!thisObject->Get(m_scriptState->context(), v8String(m_scriptState->isolate(), m_name)).ToLocal(&value))
- return v8::Handle<v8::Function>();
+ return v8::Local<v8::Function>();
ASSERT(value->IsFunction());
return v8::Local<v8::Function>::Cast(value);
« no previous file with comments | « no previous file | Source/bindings/core/v8/ToV8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698