Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Unified Diff: Source/WebCore/inspector/InspectorDatabaseInstrumentation.h

Issue 13646003: DevTools: Remove ENABLE(INSPECTOR) and ENABLE(JAVASCRIPT_DEBUGGER) from the code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: comments addressed Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « Source/WebCore/inspector/InspectorDatabaseAgent.cpp ('k') | Source/WebCore/inspector/InspectorDatabaseResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698