2011-04-05 Leandro Gracia Gil <leandrogracia@chromium.org>
Reviewed by Steve Block. Factoring the creation of 'FunctionOnly' callbacks in V8. https://bugs.webkit.org/show_bug.cgi?id=57760 This method creates a template from an existing functionality in V8GeolocationCustom.cpp to V8Utilities to be used by the custom bindings of both Geolocation and the Media Stream API. No new tests. LayoutTests/fast/dom/Geolocation/argument-types.html * bindings/v8/V8Utilities.cpp: (WebCore::throwTypeMismatchException): * bindings/v8/V8Utilities.h: (WebCore::createFunctionOnlyCallback): * bindings/v8/custom/V8GeolocationCustom.cpp: (WebCore::V8Geolocation::getCurrentPositionCallback): (WebCore::V8Geolocation::watchPositionCallback): git-svn-id: svn://svn.chromium.org/blink/trunk@82940 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment