Add missing ifdef for JAVASCRIPT_DEBUGGER feature.
[WebKit-https.git] / Source / WebCore / bindings / v8 / custom / V8ScriptProfileCustom.cpp
index ddaabb022a968acd9d2357b848e94a38dbaba466..32d87268cab7ecbc3e370326b9393ef96045932a 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "config.h"
+#if ENABLE(JAVASCRIPT_DEBUGGER)
 #include "V8ScriptProfile.h"
 
 #include "ScriptProfile.h"
@@ -59,3 +60,5 @@ v8::Handle<v8::Value> toV8(ScriptProfile* impl)
 }
 
 } // namespace WebCore
+
+#endif // ENABLE(JAVASCRIPT_DEBUGGER)