static bool profilerEnabled(Page*);
#endif
-#if ENABLE(DATABASE)
+#if ENABLE(SQL_DATABASE)
static void didOpenDatabase(ScriptExecutionContext*, PassRefPtr<Database>, const String& domain, const String& name, const String& version);
#endif
static bool profilerEnabledImpl(InstrumentingAgents*);
#endif
-#if ENABLE(DATABASE)
+#if ENABLE(SQL_DATABASE)
static void didOpenDatabaseImpl(InstrumentingAgents*, PassRefPtr<Database>, const String& domain, const String& name, const String& version);
#endif
{
#if ENABLE(INSPECTOR)
FAST_RETURN_IF_NO_FRONTENDS(InspectorInstrumentationCookie());
- if (!page)
- return InspectorInstrumentationCookie();
-
if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
return willCallFunctionImpl(instrumentingAgents, scriptName, scriptLine);
#endif