summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp')
-rw-r--r--WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp b/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp
index 4191d85..c4ff2f0 100644
--- a/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp
+++ b/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp
@@ -272,9 +272,9 @@ void ChromeClientAndroid::print(Frame*) {}
* we call into the browser thread to ask what to do with the quota, we block here and get woken up when the
* browser calls the native WebViewCore::SetDatabaseQuota method with the new quota value.
*/
+#if ENABLE(DATABASE)
void ChromeClientAndroid::exceededDatabaseQuota(Frame* frame, const String& name)
{
-#if ENABLE(DATABASE)
SecurityOrigin* origin = frame->document()->securityOrigin();
// TODO: This default quota value should be pulled from the web browser
@@ -306,8 +306,8 @@ void ChromeClientAndroid::exceededDatabaseQuota(Frame* frame, const String& name
// to the default quota, casusing it to be tracked from now on.
DatabaseTracker::tracker().setQuota(origin, defaultQuota);
}
-#endif
}
+#endif
// new to change 38068 (Nov 6, 2008)
void ChromeClientAndroid::runOpenPanel(Frame*, PassRefPtr<FileChooser>) { notImplemented(); }