diff options
author | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-24 01:34:16 +0000 |
---|---|---|
committer | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-24 01:34:16 +0000 |
commit | b13bfc4f2e0eeaf36827025920f783e41374dba9 (patch) | |
tree | 6c9927e1476f0763b625d533444448ae71efd46d /webkit | |
parent | b656d73aaa4d75163e1226d4c4096560187f2488 (diff) | |
download | chromium_src-b13bfc4f2e0eeaf36827025920f783e41374dba9.zip chromium_src-b13bfc4f2e0eeaf36827025920f783e41374dba9.tar.gz chromium_src-b13bfc4f2e0eeaf36827025920f783e41374dba9.tar.bz2 |
Now that the new webkit API to retrieve an WebApplicationCacheHost ptr given a WebFrame/WebDataSource has rolled into view, uncomment out our callsite for it.
This is following up on http://codereview.chromium.org/550040/show which was committed with this method call commented out.
TBR=hclam
BUG=none
TEST=manual
Review URL: http://codereview.chromium.org/552121
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36972 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/appcache/web_application_cache_host_impl.cc | 7 |
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( |