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

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

Issue 1071963002: Replace Handle<> with Local<> in bindings/core/v8 (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/bindings/core/v8/V8HiddenValue.h ('k') | Source/bindings/core/v8/V8IteratorResultValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8HiddenValue.cpp
diff --git a/Source/bindings/core/v8/V8HiddenValue.cpp b/Source/bindings/core/v8/V8HiddenValue.cpp
index 602be0484685a58256c4dc3d14d7d61d8bf1f42d..77bb76e1f21e11fe8afd7c14ba53382e4d85d755 100644
--- a/Source/bindings/core/v8/V8HiddenValue.cpp
+++ b/Source/bindings/core/v8/V8HiddenValue.cpp
@@ -11,7 +11,7 @@
namespace blink {
#define V8_DEFINE_METHOD(name) \
-v8::Handle<v8::String> V8HiddenValue::name(v8::Isolate* isolate) \
+v8::Local<v8::String> V8HiddenValue::name(v8::Isolate* isolate) \
{ \
V8HiddenValue* hiddenValue = V8PerIsolateData::from(isolate)->hiddenValue(); \
if (hiddenValue->m_##name.isEmpty()) { \
@@ -22,22 +22,22 @@ v8::Handle<v8::String> V8HiddenValue::name(v8::Isolate* isolate) \
V8_HIDDEN_VALUES(V8_DEFINE_METHOD);
-v8::Local<v8::Value> V8HiddenValue::getHiddenValue(v8::Isolate* isolate, v8::Handle<v8::Object> object, v8::Handle<v8::String> key)
+v8::Local<v8::Value> V8HiddenValue::getHiddenValue(v8::Isolate* isolate, v8::Local<v8::Object> object, v8::Local<v8::String> key)
{
return object->GetHiddenValue(key);
}
-bool V8HiddenValue::setHiddenValue(v8::Isolate* isolate, v8::Handle<v8::Object> object, v8::Handle<v8::String> key, v8::Handle<v8::Value> value)
+bool V8HiddenValue::setHiddenValue(v8::Isolate* isolate, v8::Local<v8::Object> object, v8::Local<v8::String> key, v8::Local<v8::Value> value)
{
return object->SetHiddenValue(key, value);
}
-bool V8HiddenValue::deleteHiddenValue(v8::Isolate* isolate, v8::Handle<v8::Object> object, v8::Handle<v8::String> key)
+bool V8HiddenValue::deleteHiddenValue(v8::Isolate* isolate, v8::Local<v8::Object> object, v8::Local<v8::String> key)
{
return object->DeleteHiddenValue(key);
}
-v8::Local<v8::Value> V8HiddenValue::getHiddenValueFromMainWorldWrapper(v8::Isolate* isolate, ScriptWrappable* wrappable, v8::Handle<v8::String> key)
+v8::Local<v8::Value> V8HiddenValue::getHiddenValueFromMainWorldWrapper(v8::Isolate* isolate, ScriptWrappable* wrappable, v8::Local<v8::String> key)
{
v8::Local<v8::Object> wrapper = wrappable->newLocalWrapper(isolate);
return wrapper.IsEmpty() ? v8::Local<v8::Value>() : getHiddenValue(isolate, wrapper, key);
« no previous file with comments | « Source/bindings/core/v8/V8HiddenValue.h ('k') | Source/bindings/core/v8/V8IteratorResultValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698