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

Unified Diff: Source/WebCore/dom/ScriptExecutionContext.cpp

Issue 13774005: Remove the ENABLE_SQL_DATABASE compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: python 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
« no previous file with comments | « Source/WebCore/dom/ScriptExecutionContext.h ('k') | Source/WebCore/history/PageCache.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/ScriptExecutionContext.cpp
diff --git a/Source/WebCore/dom/ScriptExecutionContext.cpp b/Source/WebCore/dom/ScriptExecutionContext.cpp
index 37298a25af9d0476d6aa77b35a81c3f8340e1e30..d8f1b912fb36878d81893b0871e9b7d6b1e8656d 100644
--- a/Source/WebCore/dom/ScriptExecutionContext.cpp
+++ b/Source/WebCore/dom/ScriptExecutionContext.cpp
@@ -31,6 +31,7 @@
#include "CachedScript.h"
#include "ContentSecurityPolicy.h"
#include "DOMTimer.h"
+#include "DatabaseContext.h"
#include "ErrorEvent.h"
#include "EventListener.h"
#include "EventTarget.h"
@@ -47,10 +48,6 @@
#include <wtf/PassRefPtr.h>
#include <wtf/Vector.h>
-#if ENABLE(SQL_DATABASE)
-#include "DatabaseContext.h"
-#endif
-
namespace WTF {
template<> struct SequenceMemoryInstrumentationTraits<WebCore::ContextDestructionObserver*> {
@@ -406,12 +403,10 @@ ScriptExecutionContext::Task::~Task()
{
}
-#if ENABLE(SQL_DATABASE)
void ScriptExecutionContext::setDatabaseContext(DatabaseContext* databaseContext)
{
ASSERT(!m_databaseContext);
m_databaseContext = databaseContext;
}
-#endif
} // namespace WebCore
« no previous file with comments | « Source/WebCore/dom/ScriptExecutionContext.h ('k') | Source/WebCore/history/PageCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698