summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/V8Index.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/v8/V8Index.h')
-rw-r--r--WebCore/bindings/v8/V8Index.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/WebCore/bindings/v8/V8Index.h b/WebCore/bindings/v8/V8Index.h
index 5478181..fb53948 100644
--- a/WebCore/bindings/v8/V8Index.h
+++ b/WebCore/bindings/v8/V8Index.h
@@ -491,15 +491,11 @@ typedef v8::Persistent<v8::FunctionTemplate> (*FunctionTemplateFactory)();
#define DOM_OBJECT_INSPECTOR_TYPES(V)
#endif
-#if ENABLE(GEOLOCATION)
#define DOM_OBJECT_GEOLOCATION_TYPES(V) \
V(COORDINATES, Coordinates) \
V(GEOLOCATION, Geolocation) \
V(GEOPOSITION, Geoposition) \
V(POSITIONERROR, PositionError)
-#else
-#define DOM_OBJECT_GEOLOCATION_TYPES(V)
-#endif
#if PLATFORM(ANDROID)
// TODO: Upstream this guard.
@@ -531,10 +527,10 @@ typedef v8::Persistent<v8::FunctionTemplate> (*FunctionTemplateFactory)();
DOM_OBJECT_3D_CANVAS_TYPES(V) \
DOM_OBJECT_XPATH_TYPES(V) \
DOM_OBJECT_XSLT_TYPES(V) \
+ DOM_OBJECT_INSPECTOR_TYPES(V) \
DOM_OBJECT_GEOLOCATION_TYPES(V) \
DOM_OBJECT_TOUCH_EVENT_TYPES(V) \
- DOM_OBJECT_VOIDCALLBACK_TYPES(V) \
- DOM_OBJECT_INSPECTOR_TYPES(V)
+ DOM_OBJECT_VOIDCALLBACK_TYPES(V)
#endif
#if ENABLE(SVG)