From d91199227b61de9ae6a292acd8c198cb8b568105 Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Thu, 2 Oct 2008 20:28:47 +0000 Subject: Drop V8DOMWindow dependency on database Review URL: http://codereview.chromium.org/6205 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2804 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/port/DerivedSources.make | 1 + webkit/port/page/DOMWindow.idl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/webkit/port/DerivedSources.make b/webkit/port/DerivedSources.make index b62ceca..fb0b99f 100644 --- a/webkit/port/DerivedSources.make +++ b/webkit/port/DerivedSources.make @@ -1147,6 +1147,7 @@ V8_SCRIPTS = \ # Sometimes script silently fails (Cygwin problem?), # use a bounded loop to retry if so, but not do so forever. V8%.h : %.idl $(V8_SCRIPTS) + rm -f $@; \ for i in 1 2 3 4 5 6 7 8 9 10; do \ if test -e $@; then break; fi; \ perl -w -I $(PORTROOT)/bindings/scripts -I $(WebCore)/bindings/scripts $(PORTROOT)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT V8_BINDING" --generator V8 --include ../../../webkit/pending --include ../../../webkit/port/dom --include ../../../webkit/port/html --include ../../../webkit/port/page --include ../../../webkit/port/xml --include svg --include dom --include html --include css --include page --include xml --outputdir . $< ; \ diff --git a/webkit/port/page/DOMWindow.idl b/webkit/port/page/DOMWindow.idl index c606de8..7882f05 100644 --- a/webkit/port/page/DOMWindow.idl +++ b/webkit/port/page/DOMWindow.idl @@ -114,7 +114,7 @@ module window { in [Optional] boolean authorOnly); attribute [Replaceable] double devicePixelRatio; -#if defined(ENABLE_DATABASE) +#if ENABLE_DATABASE Database openDatabase(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize) raises(DOMException); #endif -- cgit v1.1