Changeset 51995 in webkit
- Timestamp:
- Dec 11, 2009 9:14:06 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r51993 r51995 1 2009-12-11 anton muhin <antonm@chromium.org> 2 Reviewed by Adam Barth. 3 4 [v8] in Debug builds create an additional handle scope 5 when doing debug build checks. 6 https://bugs.webkit.org/show_bug.cgi?id=32335 7 8 Should be covered by buildbots. 9 10 * bindings/v8/V8DOMWrapper.h: 11 (WebCore::V8DOMWrapper::convertDOMWrapperToNative): 12 (WebCore::V8DOMWrapper::convertDOMWrapperToNode): 13 1 14 2009-12-11 Pavel Feldman <pfeldman@chromium.org> 2 15 -
trunk/WebCore/bindings/v8/V8DOMWrapper.h
r51638 r51995 127 127 static C* convertDOMWrapperToNative(v8::Handle<v8::Object> object) 128 128 { 129 #ifndef NDEBUG 130 v8::HandleScope handleScope; 129 131 ASSERT(maybeDOMWrapper(object)); 132 #endif 130 133 return reinterpret_cast<C*>(object->GetPointerFromInternalField(V8Custom::kDOMWrapperObjectIndex)); 131 134 } … … 134 137 static C* convertDOMWrapperToNode(v8::Handle<v8::Object> object) 135 138 { 139 #ifndef NDEBUG 140 v8::HandleScope handleScope; 136 141 ASSERT(maybeDOMWrapper(object)); 137 142 ASSERT(domWrapperType(object) == V8ClassIndex::NODE); 143 #endif 138 144 return convertDOMWrapperToNative<C>(object); 139 145 }
Note: See TracChangeset
for help on using the changeset viewer.