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

Unified Diff: Source/WebKit/chromium/src/WebRuntimeFeatures.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/WebKit/chromium/src/WebDatabase.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
diff --git a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
index 128ea1dea5b4aa10e5651c767514d096b92e47b2..92591a4c2e0b9ba97e183bc37702f1ba9c2ecaec 100644
--- a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
+++ b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
@@ -58,18 +58,12 @@ bool WebRuntimeFeatures::isNativeValidationMessageEnabled()
void WebRuntimeFeatures::enableDatabase(bool enable)
{
-#if ENABLE(SQL_DATABASE)
DatabaseManager::manager().setIsAvailable(enable);
-#endif
}
bool WebRuntimeFeatures::isDatabaseEnabled()
{
-#if ENABLE(SQL_DATABASE)
return DatabaseManager::manager().isAvailable();
-#else
- return false;
-#endif
}
// FIXME: Remove the ability to enable this feature at runtime.
« no previous file with comments | « Source/WebKit/chromium/src/WebDatabase.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698