WebCore/generated/JSNavigator.cpp
changeset 2 303757a437d3
parent 0 4f2f89ce4247
--- 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 <runtime/Error.h>
@@ -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<PropertySlot::GetValueFunc>(jsNavigatorAppCodeName), (intptr_t)0 THUNK_GENERATOR(0) },
     { "appName", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsNavigatorAppName), (intptr_t)0 THUNK_GENERATOR(0) },
@@ -62,7 +60,6 @@
     { "vendorSub", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsNavigatorVendorSub), (intptr_t)0 THUNK_GENERATOR(0) },
     { "cookieEnabled", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsNavigatorCookieEnabled), (intptr_t)0 THUNK_GENERATOR(0) },
     { "onLine", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsNavigatorOnLine), (intptr_t)0 THUNK_GENERATOR(0) },
-    { "geolocation", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(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<JSNavigator*>(asObject(slotBase));
-    UNUSED_PARAM(exec);
-    Navigator* imp = static_cast<Navigator*>(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();