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

Unified Diff: Source/core/inspector/InjectedScriptNative.cpp

Issue 1107393003: Replace Handle with Local in Source/* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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 | « Source/core/inspector/InjectedScriptNative.h ('k') | Source/core/loader/EmptyClients.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InjectedScriptNative.cpp
diff --git a/Source/core/inspector/InjectedScriptNative.cpp b/Source/core/inspector/InjectedScriptNative.cpp
index 9ec91c7b141355e4686b340704e5e771b45ce99b..d094aac1e1cb7265d1e4effbf477d7426b369763 100644
--- a/Source/core/inspector/InjectedScriptNative.cpp
+++ b/Source/core/inspector/InjectedScriptNative.cpp
@@ -22,20 +22,20 @@ InjectedScriptNative::InjectedScriptNative(v8::Isolate* isolate)
InjectedScriptNative::~InjectedScriptNative() { }
-void InjectedScriptNative::setOnInjectedScriptHost(v8::Handle<v8::Object> injectedScriptHost)
+void InjectedScriptNative::setOnInjectedScriptHost(v8::Local<v8::Object> injectedScriptHost)
{
v8::HandleScope handleScope(m_isolate);
- v8::Handle<v8::External> external = v8::External::New(m_isolate, this);
+ v8::Local<v8::External> external = v8::External::New(m_isolate, this);
V8HiddenValue::setHiddenValue(m_isolate, injectedScriptHost, V8HiddenValue::injectedScriptNative(m_isolate), external);
}
-InjectedScriptNative* InjectedScriptNative::fromInjectedScriptHost(v8::Handle<v8::Object> injectedScriptObject)
+InjectedScriptNative* InjectedScriptNative::fromInjectedScriptHost(v8::Local<v8::Object> injectedScriptObject)
{
v8::Isolate* isolate = injectedScriptObject->GetIsolate();
v8::HandleScope handleScope(isolate);
- v8::Handle<v8::Value> value = V8HiddenValue::getHiddenValue(isolate, injectedScriptObject, V8HiddenValue::injectedScriptNative(isolate));
+ v8::Local<v8::Value> value = V8HiddenValue::getHiddenValue(isolate, injectedScriptObject, V8HiddenValue::injectedScriptNative(isolate));
ASSERT(!value.IsEmpty());
- v8::Handle<v8::External> external = value.As<v8::External>();
+ v8::Local<v8::External> external = value.As<v8::External>();
void* ptr = external->Value();
ASSERT(ptr);
return static_cast<InjectedScriptNative*>(ptr);
« no previous file with comments | « Source/core/inspector/InjectedScriptNative.h ('k') | Source/core/loader/EmptyClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698