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