diff -r 4f2f89ce4247 -r 303757a437d3 WebCore/generated/JSNavigator.cpp --- a/WebCore/generated/JSNavigator.cpp Fri Sep 17 09:02:29 2010 +0300 +++ b/WebCore/generated/JSNavigator.cpp Mon Oct 04 01:32:07 2010 +0300 @@ -23,10 +23,8 @@ #include "DOMMimeTypeArray.h" #include "DOMPluginArray.h" -#include "Geolocation.h" #include "JSDOMMimeTypeArray.h" #include "JSDOMPluginArray.h" -#include "JSGeolocation.h" #include "KURL.h" #include "Navigator.h" #include @@ -46,7 +44,7 @@ #define THUNK_GENERATOR(generator) #endif -static const HashTableValue JSNavigatorTableValues[16] = +static const HashTableValue JSNavigatorTableValues[15] = { { "appCodeName", DontDelete | ReadOnly, (intptr_t)static_cast(jsNavigatorAppCodeName), (intptr_t)0 THUNK_GENERATOR(0) }, { "appName", DontDelete | ReadOnly, (intptr_t)static_cast(jsNavigatorAppName), (intptr_t)0 THUNK_GENERATOR(0) }, @@ -62,7 +60,6 @@ { "vendorSub", DontDelete | ReadOnly, (intptr_t)static_cast(jsNavigatorVendorSub), (intptr_t)0 THUNK_GENERATOR(0) }, { "cookieEnabled", DontDelete | ReadOnly, (intptr_t)static_cast(jsNavigatorCookieEnabled), (intptr_t)0 THUNK_GENERATOR(0) }, { "onLine", DontDelete | ReadOnly, (intptr_t)static_cast(jsNavigatorOnLine), (intptr_t)0 THUNK_GENERATOR(0) }, - { "geolocation", DontDelete | ReadOnly, (intptr_t)static_cast(jsNavigatorGeolocation), (intptr_t)0 THUNK_GENERATOR(0) }, { 0, 0, 0, 0 THUNK_GENERATOR(0) } }; @@ -255,16 +252,6 @@ return result; } -JSValue jsNavigatorGeolocation(ExecState* exec, JSValue slotBase, const Identifier&) -{ - JSNavigator* castedThis = static_cast(asObject(slotBase)); - UNUSED_PARAM(exec); - Navigator* imp = static_cast(castedThis->impl()); -// :HACK: JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->geolocation())); - JSValue result; // :HACK: - return result; -} - EncodedJSValue JSC_HOST_CALL jsNavigatorPrototypeFunctionJavaEnabled(ExecState* exec) { JSValue thisValue = exec->hostThisValue();