summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/custom/V8GeolocationCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/v8/custom/V8GeolocationCustom.cpp')
-rw-r--r--WebCore/bindings/v8/custom/V8GeolocationCustom.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/bindings/v8/custom/V8GeolocationCustom.cpp b/WebCore/bindings/v8/custom/V8GeolocationCustom.cpp
index 649c45f..54bd11c 100644
--- a/WebCore/bindings/v8/custom/V8GeolocationCustom.cpp
+++ b/WebCore/bindings/v8/custom/V8GeolocationCustom.cpp
@@ -26,6 +26,8 @@
#include "config.h"
#include "V8Geolocation.h"
+#if ENABLE(GEOLOCATION)
+
#include "Frame.h"
#include "Geolocation.h"
#include "V8Binding.h"
@@ -215,3 +217,5 @@ v8::Handle<v8::Value> V8Geolocation::watchPositionCallback(const v8::Arguments&
}
} // namespace WebCore
+
+#endif // ENABLE(GEOLOCATION)