Changeset 139601 in webkit
- Timestamp:
- Jan 14, 2013 3:10:36 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r139599 r139601 1 2013-01-14 Kentaro Hara <haraken@chromium.org> 2 3 [V8] Pass an Isolate to associateObjectWithWrapper() 4 https://bugs.webkit.org/show_bug.cgi?id=106773 5 6 Reviewed by Adam Barth. 7 8 In preparation for making an Isolate parameter mandatory 9 in associateObjectWithWrapper(), this patch passes an 10 Isolate to associateObjectWithWrapper(). 11 12 No tests. No change in behavior. 13 14 * bindings/v8/custom/V8ArrayBufferCustom.cpp: 15 (WebCore::V8ArrayBuffer::constructorCallbackCustom): 16 * bindings/v8/custom/V8ArrayBufferViewCustom.h: 17 (WebCore::wrapArrayBufferView): 18 (WebCore::constructWebGLArray): 19 * bindings/v8/custom/V8AudioContextCustom.cpp: 20 (WebCore::V8AudioContext::constructorCallbackCustom): 21 * bindings/v8/custom/V8DOMFormDataCustom.cpp: 22 (WebCore::V8DOMFormData::constructorCallbackCustom): 23 * bindings/v8/custom/V8DataViewCustom.cpp: 24 (WebCore::V8DataView::constructorCallbackCustom): 25 * bindings/v8/custom/V8HTMLImageElementConstructor.cpp: 26 (WebCore::v8HTMLImageElementConstructorCallback): 27 * bindings/v8/custom/V8IntentCustom.cpp: 28 (WebCore::V8Intent::constructorCallbackCustom): 29 * bindings/v8/custom/V8MessageChannelCustom.cpp: 30 (WebCore::V8MessageChannel::constructorCallbackCustom): 31 * bindings/v8/custom/V8MutationObserverCustom.cpp: 32 (WebCore::V8MutationObserver::constructorCallbackCustom): 33 * bindings/v8/custom/V8WebKitPointCustom.cpp: 34 (WebCore::V8WebKitPoint::constructorCallbackCustom): 35 * bindings/v8/custom/V8XMLHttpRequestCustom.cpp: 36 (WebCore::V8XMLHttpRequest::constructorCallbackCustom): 37 1 38 2013-01-14 Kentaro Hara <haraken@chromium.org> 2 39 -
trunk/Source/WebCore/bindings/v8/custom/V8ArrayBufferCustom.cpp
r136605 r139601 77 77 // Transform the holder into a wrapper object for the array. 78 78 v8::Handle<v8::Object> wrapper = args.Holder(); 79 V8DOMWrapper::associateObjectWithWrapper(buffer.release(), &info, wrapper );79 V8DOMWrapper::associateObjectWithWrapper(buffer.release(), &info, wrapper, args.GetIsolate()); 80 80 return wrapper; 81 81 } -
trunk/Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.h
r139459 r139601 56 56 args.Holder()->SetIndexedPropertiesToExternalArrayData(array.get()->baseAddress(), arrayType, array.get()->length()); 57 57 v8::Handle<v8::Object> wrapper = args.Holder(); 58 v8::Persistent<v8::Object> wrapperHandle = V8DOMWrapper::associateObjectWithWrapper(array.release(), type, wrapper );58 v8::Persistent<v8::Object> wrapperHandle = V8DOMWrapper::associateObjectWithWrapper(array.release(), type, wrapper, args.GetIsolate()); 59 59 wrapperHandle.MarkIndependent(); 60 60 return wrapper; … … 226 226 227 227 v8::Handle<v8::Object> wrapper = args.Holder(); 228 v8::Persistent<v8::Object> wrapperHandle = V8DOMWrapper::associateObjectWithWrapper(array.release(), type, wrapper );228 v8::Persistent<v8::Object> wrapperHandle = V8DOMWrapper::associateObjectWithWrapper(array.release(), type, wrapper, args.GetIsolate()); 229 229 wrapperHandle.MarkIndependent(); 230 230 return wrapper; -
trunk/Source/WebCore/bindings/v8/custom/V8AudioContextCustom.cpp
r137516 r139601 74 74 // Transform the holder into a wrapper object for the audio context. 75 75 v8::Handle<v8::Object> wrapper = args.Holder(); 76 V8DOMWrapper::associateObjectWithWrapper(audioContext.release(), &info, wrapper );76 V8DOMWrapper::associateObjectWithWrapper(audioContext.release(), &info, wrapper, args.GetIsolate()); 77 77 78 78 return wrapper; -
trunk/Source/WebCore/bindings/v8/custom/V8DOMFormDataCustom.cpp
r138677 r139601 48 48 49 49 v8::Handle<v8::Object> wrapper = args.Holder(); 50 V8DOMWrapper::associateObjectWithWrapper(domFormData.release(), &info, wrapper );50 V8DOMWrapper::associateObjectWithWrapper(domFormData.release(), &info, wrapper, args.GetIsolate()); 51 51 return wrapper; 52 52 } -
trunk/Source/WebCore/bindings/v8/custom/V8DataViewCustom.cpp
r138665 r139601 40 40 RefPtr<DataView> dataView = DataView::create(0); 41 41 v8::Handle<v8::Object> wrapper = args.Holder(); 42 V8DOMWrapper::associateObjectWithWrapper(dataView.release(), &info, wrapper );42 V8DOMWrapper::associateObjectWithWrapper(dataView.release(), &info, wrapper, args.GetIsolate()); 43 43 return wrapper; 44 44 } -
trunk/Source/WebCore/bindings/v8/custom/V8HTMLImageElementConstructor.cpp
r138677 r139601 78 78 RefPtr<HTMLImageElement> image = HTMLImageElement::createForJSConstructor(document, optionalWidth, optionalHeight); 79 79 v8::Handle<v8::Object> wrapper = args.Holder(); 80 V8DOMWrapper::associateObjectWithWrapper(image.release(), &V8HTMLImageElementConstructor::info, wrapper );80 V8DOMWrapper::associateObjectWithWrapper(image.release(), &V8HTMLImageElementConstructor::info, wrapper, args.GetIsolate()); 81 81 return wrapper; 82 82 } -
trunk/Source/WebCore/bindings/v8/custom/V8IntentCustom.cpp
r136605 r139601 56 56 57 57 v8::Handle<v8::Object> wrapper = args.Holder(); 58 V8DOMWrapper::associateObjectWithWrapper(impl.release(), &info, wrapper );58 V8DOMWrapper::associateObjectWithWrapper(impl.release(), &info, wrapper, args.GetIsolate()); 59 59 return wrapper; 60 60 } … … 79 79 80 80 v8::Handle<v8::Object> wrapper = args.Holder(); 81 V8DOMWrapper::associateObjectWithWrapper(impl.release(), &info, wrapper );81 V8DOMWrapper::associateObjectWithWrapper(impl.release(), &info, wrapper, args.GetIsolate()); 82 82 return wrapper; 83 83 } -
trunk/Source/WebCore/bindings/v8/custom/V8MessageChannelCustom.cpp
r136605 r139601 58 58 V8DOMWrapper::setNamedHiddenReference(wrapper, "port2", toV8(obj->port2(), args.Holder(), args.GetIsolate())); 59 59 60 V8DOMWrapper::associateObjectWithWrapper(obj.release(), &info, wrapper );60 V8DOMWrapper::associateObjectWithWrapper(obj.release(), &info, wrapper, args.GetIsolate()); 61 61 return wrapper; 62 62 } -
trunk/Source/WebCore/bindings/v8/custom/V8MutationObserverCustom.cpp
r138811 r139601 57 57 RefPtr<MutationObserver> observer = MutationObserver::create(callback.release()); 58 58 59 V8DOMWrapper::associateObjectWithWrapper(observer.release(), &info, wrapper );59 V8DOMWrapper::associateObjectWithWrapper(observer.release(), &info, wrapper, args.GetIsolate()); 60 60 return wrapper; 61 61 } -
trunk/Source/WebCore/bindings/v8/custom/V8WebKitPointCustom.cpp
r136605 r139601 58 58 RefPtr<WebKitPoint> point = WebKitPoint::create(x, y); 59 59 v8::Handle<v8::Object> wrapper = args.Holder(); 60 V8DOMWrapper::associateObjectWithWrapper(point.release(), &info, wrapper );60 V8DOMWrapper::associateObjectWithWrapper(point.release(), &info, wrapper, args.GetIsolate()); 61 61 return wrapper; 62 62 } -
trunk/Source/WebCore/bindings/v8/custom/V8XMLHttpRequestCustom.cpp
r138665 r139601 62 62 63 63 v8::Handle<v8::Object> wrapper = args.Holder(); 64 V8DOMWrapper::associateObjectWithWrapper(xmlHttpRequest.release(), &info, wrapper );64 V8DOMWrapper::associateObjectWithWrapper(xmlHttpRequest.release(), &info, wrapper, args.GetIsolate()); 65 65 return wrapper; 66 66 }
Note: See TracChangeset
for help on using the changeset viewer.