2010-05-08 Leandro Pereira <leandro@profusion.mobi>
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 May 2010 18:40:06 +0000 (18:40 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 May 2010 18:40:06 +0000 (18:40 +0000)
        Reviewed by Laszlo Gombos.

        [EFL] Only compile database stuff if ENABLE_DATABASE is set.
        http://webkit.org/b/38777

        * efl/WebCoreSupport/ChromeClientEfl.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@59032 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp

index 978e85e..1044159 100644 (file)
@@ -1,3 +1,12 @@
+2010-05-08  Leandro Pereira  <leandro@profusion.mobi>
+
+        Reviewed by Laszlo Gombos.
+
+        [EFL] Only compile database stuff if ENABLE_DATABASE is set. 
+        http://webkit.org/b/38777
+
+        * efl/WebCoreSupport/ChromeClientEfl.cpp:
+
 2010-05-05  Dan Bernstein  <mitz@apple.com>
 
         Reviewed by Simon Fraser.
index 31b53c8..92b95b6 100644 (file)
@@ -33,7 +33,9 @@
 #include "config.h"
 #include "ChromeClientEfl.h"
 
+#if ENABLE(DATABASE)
 #include "DatabaseTracker.h"
+#endif
 #include "EWebKit.h"
 #include "FloatRect.h"
 #include "FrameLoader.h"
@@ -340,6 +342,7 @@ void ChromeClientEfl::reachedMaxAppCacheSize(int64_t spaceNeeded)
 }
 #endif
 
+#if ENABLE(DATABASE)
 void ChromeClientEfl::exceededDatabaseQuota(Frame* frame, const String& databaseName)
 {
     uint64_t quota = ewk_settings_web_database_default_quota_get();
@@ -349,6 +352,7 @@ void ChromeClientEfl::exceededDatabaseQuota(Frame* frame, const String& database
 
     ewk_view_exceeded_database_quota(m_view, kit(frame), databaseName.utf8().data());
 }
+#endif
 
 void ChromeClientEfl::runOpenPanel(Frame* frame, PassRefPtr<FileChooser> prpFileChooser)
 {