Index: Source/WebCore/inspector/InspectorDatabaseInstrumentation.h |
diff --git a/Source/WebCore/inspector/InspectorDatabaseInstrumentation.h b/Source/WebCore/inspector/InspectorDatabaseInstrumentation.h |
index 19933b809a20998476450cade09d1185da7e6b95..9e887abad2fe03ba9637950c49a9f7b13dd2e0ae 100644 |
--- a/Source/WebCore/inspector/InspectorDatabaseInstrumentation.h |
+++ b/Source/WebCore/inspector/InspectorDatabaseInstrumentation.h |
@@ -41,16 +41,8 @@ namespace WebCore { |
#if ENABLE(SQL_DATABASE) |
inline void InspectorInstrumentation::didOpenDatabase(ScriptExecutionContext* context, PassRefPtr<Database> database, const String& domain, const String& name, const String& version) |
{ |
-#if ENABLE(INSPECTOR) |
if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context)) |
didOpenDatabaseImpl(instrumentingAgents, database, domain, name, version); |
-#else |
- UNUSED_PARAM(context); |
- UNUSED_PARAM(database); |
- UNUSED_PARAM(domain); |
- UNUSED_PARAM(name); |
- UNUSED_PARAM(version); |
-#endif |
} |
#endif |