summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webkit/appcache/web_application_cache_host_impl.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/webkit/appcache/web_application_cache_host_impl.cc b/webkit/appcache/web_application_cache_host_impl.cc
index 8db6aa9..2aec43a 100644
--- a/webkit/appcache/web_application_cache_host_impl.cc
+++ b/webkit/appcache/web_application_cache_host_impl.cc
@@ -36,11 +36,8 @@ WebApplicationCacheHostImpl* WebApplicationCacheHostImpl::FromFrame(
WebDataSource* data_source = frame->dataSource();
if (!data_source)
return NULL;
- return NULL;
- // TODO(michaeln): Uncomment after the new webkit api is available,
- // (see https://bugs.webkit.org/show_bug.cgi?id=33880)
- // return static_cast<WebApplicationCacheHostImpl*>
- // (data_source->applicationCacheHost());
+ return static_cast<WebApplicationCacheHostImpl*>
+ (data_source->applicationCacheHost());
}
WebApplicationCacheHostImpl::WebApplicationCacheHostImpl(