summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/custom/V8CustomPositionCallback.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/v8/custom/V8CustomPositionCallback.cpp')
-rw-r--r--WebCore/bindings/v8/custom/V8CustomPositionCallback.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/bindings/v8/custom/V8CustomPositionCallback.cpp b/WebCore/bindings/v8/custom/V8CustomPositionCallback.cpp
index 18f27cb..97d0dde 100644
--- a/WebCore/bindings/v8/custom/V8CustomPositionCallback.cpp
+++ b/WebCore/bindings/v8/custom/V8CustomPositionCallback.cpp
@@ -26,6 +26,8 @@
#include "config.h"
#include "V8CustomPositionCallback.h"
+#if ENABLE(GEOLOCATION)
+
#include "ScriptExecutionContext.h"
#include "V8CustomVoidCallback.h" // For invokeCallback
#include "V8Geoposition.h"
@@ -76,3 +78,5 @@ void V8CustomPositionCallback::handleEvent(Geoposition* position)
}
} // namespace WebCore
+
+#endif // ENABLE(GEOLOCATION)