Index: Source/core/html/ImageData.cpp |
diff --git a/Source/core/html/ImageData.cpp b/Source/core/html/ImageData.cpp |
index c0329725b806e671a400393d2ddcc4afa20a8bfe..45de50a575022064f03582ba98d8c658bb9f848b 100644 |
--- a/Source/core/html/ImageData.cpp |
+++ b/Source/core/html/ImageData.cpp |
@@ -144,7 +144,7 @@ PassRefPtrWillBeRawPtr<ImageData> ImageData::create(DOMUint8ClampedArray* data, |
return adoptRefWillBeNoop(new ImageData(IntSize(width, height), data)); |
} |
-v8::Handle<v8::Object> ImageData::associateWithWrapper(v8::Isolate* isolate, const WrapperTypeInfo* wrapperType, v8::Handle<v8::Object> wrapper) |
+v8::Local<v8::Object> ImageData::associateWithWrapper(v8::Isolate* isolate, const WrapperTypeInfo* wrapperType, v8::Local<v8::Object> wrapper) |
{ |
ScriptWrappable::associateWithWrapper(isolate, wrapperType, wrapper); |
@@ -152,9 +152,9 @@ v8::Handle<v8::Object> ImageData::associateWithWrapper(v8::Isolate* isolate, con |
// Create a V8 Uint8ClampedArray object and set the "data" property |
// of the ImageData object to the created v8 object, eliminating the |
// C++ callback when accessing the "data" property. |
- v8::Handle<v8::Value> pixelArray = toV8(m_data.get(), wrapper, isolate); |
+ v8::Local<v8::Value> pixelArray = toV8(m_data.get(), wrapper, isolate); |
if (pixelArray.IsEmpty() || !v8CallBoolean(wrapper->ForceSet(isolate->GetCurrentContext(), v8AtomicString(isolate, "data"), pixelArray, v8::ReadOnly))) |
- return v8::Handle<v8::Object>(); |
+ return v8::Local<v8::Object>(); |
} |
return wrapper; |
} |