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

Unified Diff: Source/web/WebBindings.cpp

Issue 1112813002: Make use of v8::Local alias in Source/web* (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/web/FrameLoaderClientImpl.cpp ('k') | Source/web/WebDevToolsFrontendImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebBindings.cpp
diff --git a/Source/web/WebBindings.cpp b/Source/web/WebBindings.cpp
index 199cec40ff0383e3518926ff3915a7eec99de92d..e3995d31dfe707feedaec82b5a2d4c867813c0f2 100644
--- a/Source/web/WebBindings.cpp
+++ b/Source/web/WebBindings.cpp
@@ -216,7 +216,7 @@ static bool getRangeImpl(NPObject* object, WebRange* webRange, v8::Isolate* isol
return false;
v8::HandleScope handleScope(isolate);
- v8::Handle<v8::Object> v8Object = v8::Local<v8::Object>::New(isolate, v8NPObject->v8Object);
+ v8::Local<v8::Object> v8Object = v8::Local<v8::Object>::New(isolate, v8NPObject->v8Object);
if (v8Object.IsEmpty())
return false;
if (!V8Range::wrapperTypeInfo.equals(toWrapperTypeInfo(v8Object)))
@@ -240,7 +240,7 @@ static bool getNodeImpl(NPObject* object, WebNode* webNode, v8::Isolate* isolate
return false;
v8::HandleScope handleScope(isolate);
- v8::Handle<v8::Object> v8Object = v8::Local<v8::Object>::New(isolate, v8NPObject->v8Object);
+ v8::Local<v8::Object> v8Object = v8::Local<v8::Object>::New(isolate, v8NPObject->v8Object);
if (v8Object.IsEmpty())
return false;
Node* native = V8Node::hasInstance(v8Object, isolate) ? V8Node::toImpl(v8Object) : 0;
@@ -261,7 +261,7 @@ static bool getElementImpl(NPObject* object, WebElement* webElement, v8::Isolate
return false;
v8::HandleScope handleScope(isolate);
- v8::Handle<v8::Object> v8Object = v8::Local<v8::Object>::New(isolate, v8NPObject->v8Object);
+ v8::Local<v8::Object> v8Object = v8::Local<v8::Object>::New(isolate, v8NPObject->v8Object);
if (v8Object.IsEmpty())
return false;
Element* native = V8Element::hasInstance(v8Object, isolate) ? V8Element::toImpl(v8Object) : 0;
@@ -282,7 +282,7 @@ static bool getArrayBufferImpl(NPObject* object, WebArrayBuffer* arrayBuffer, v8
return false;
v8::HandleScope handleScope(isolate);
- v8::Handle<v8::Object> v8Object = v8::Local<v8::Object>::New(isolate, v8NPObject->v8Object);
+ v8::Local<v8::Object> v8Object = v8::Local<v8::Object>::New(isolate, v8NPObject->v8Object);
if (v8Object.IsEmpty())
return false;
DOMArrayBuffer* impl = V8ArrayBuffer::hasInstance(v8Object, isolate) ? V8ArrayBuffer::toImpl(v8Object) : 0;
@@ -303,7 +303,7 @@ static bool getArrayBufferViewImpl(NPObject* object, WebArrayBufferView* arrayBu
return false;
v8::HandleScope handleScope(isolate);
- v8::Handle<v8::Object> v8Object = v8::Local<v8::Object>::New(isolate, v8NPObject->v8Object);
+ v8::Local<v8::Object> v8Object = v8::Local<v8::Object>::New(isolate, v8NPObject->v8Object);
if (v8Object.IsEmpty())
return false;
DOMArrayBufferView* impl = V8ArrayBufferView::hasInstance(v8Object, isolate) ? V8ArrayBufferView::toImpl(v8Object) : 0;
@@ -317,7 +317,7 @@ static bool getArrayBufferViewImpl(NPObject* object, WebArrayBufferView* arrayBu
static NPObject* makeIntArrayImpl(const WebVector<int>& data, v8::Isolate* isolate)
{
v8::HandleScope handleScope(isolate);
- v8::Handle<v8::Array> result = v8::Array::New(isolate, data.size());
+ v8::Local<v8::Array> result = v8::Array::New(isolate, data.size());
for (size_t i = 0; i < data.size(); ++i)
result->Set(i, v8::Number::New(isolate, data[i]));
@@ -328,7 +328,7 @@ static NPObject* makeIntArrayImpl(const WebVector<int>& data, v8::Isolate* isola
static NPObject* makeStringArrayImpl(const WebVector<WebString>& data, v8::Isolate* isolate)
{
v8::HandleScope handleScope(isolate);
- v8::Handle<v8::Array> result = v8::Array::New(isolate, data.size());
+ v8::Local<v8::Array> result = v8::Array::New(isolate, data.size());
for (size_t i = 0; i < data.size(); ++i)
result->Set(i, v8String(isolate, data[i]));
« no previous file with comments | « Source/web/FrameLoaderClientImpl.cpp ('k') | Source/web/WebDevToolsFrontendImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698