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

Unified Diff: Source/WebCore/bindings/v8/custom/V8InjectedScriptHostCustom.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
Index: Source/WebCore/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
diff --git a/Source/WebCore/bindings/v8/custom/V8InjectedScriptHostCustom.cpp b/Source/WebCore/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
index 2fc50f886a4373f0c2caf8032c2252721c3bb9e8..a4ed4ac24136c94849308c457b9bb30ba0e48c12 100644
--- a/Source/WebCore/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
+++ b/Source/WebCore/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
@@ -286,12 +286,10 @@ v8::Handle<v8::Value> V8InjectedScriptHost::databaseIdMethodCustom(const v8::Arg
{
if (args.Length() < 1)
return v8::Undefined();
-#if ENABLE(SQL_DATABASE)
InjectedScriptHost* host = V8InjectedScriptHost::toNative(args.Holder());
Database* database = V8Database::toNative(v8::Handle<v8::Object>::Cast(args[0]));
if (database)
return v8StringOrUndefined(host->databaseIdImpl(database), args.GetIsolate());
-#endif
return v8::Undefined();
}

Powered by Google App Engine
This is Rietveld 408576698