Index: bindings/js/JSDOMApplicationCacheCustom.cpp |
=================================================================== |
--- bindings/js/JSDOMApplicationCacheCustom.cpp (revision 44202) |
+++ bindings/js/JSDOMApplicationCacheCustom.cpp (working copy) |
@@ -26,7 +26,7 @@ |
#include "config.h" |
#include "JSDOMApplicationCache.h" |
-#if ENABLE(OFFLINE_WEB_APPLICATIONS) |
+#if ENABLE(OFFLINE_WEB_APPLICATIONS) || ENABLE(APPLICATION_CACHE) |
#include "AtomicString.h" |
#include "DOMApplicationCache.h" |
@@ -64,7 +64,7 @@ |
} |
} |
-#if ENABLE(APPLICATION_CACHE_DYNAMIC_ENTRIES) |
+#if ENABLE(OFFLINE_WEB_APPLICATIONS) && ENABLE(APPLICATION_CACHE_DYNAMIC_ENTRIES) |
JSValue JSDOMApplicationCache::hasItem(ExecState* exec, const ArgList& args) |
{ |
@@ -105,7 +105,7 @@ |
return jsUndefined(); |
} |
-#endif // ENABLE(APPLICATION_CACHE_DYNAMIC_ENTRIES) |
+#endif // ENABLE(OFFLINE_WEB_APPLICATIONS) && ENABLE(APPLICATION_CACHE_DYNAMIC_ENTRIES) |
JSValue JSDOMApplicationCache::addEventListener(ExecState* exec, const ArgList& args) |
{ |
@@ -133,4 +133,4 @@ |
} // namespace WebCore |
-#endif // ENABLE(OFFLINE_WEB_APPLICATIONS) |
+#endif // ENABLE(OFFLINE_WEB_APPLICATIONS) || ENABLE(APPLICATION_CACHE) |