diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-11 00:06:33 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-11 00:06:33 +0000 |
commit | 11aba074694d4345c16eabc00963198e78d1e9c4 (patch) | |
tree | 7f49f46f1f5f9d37e995e1649258bdf3d20ac390 /webkit/glue/webframeloaderclient_impl.cc | |
parent | bdd9465b02b1a18e6c2e989d7de3018967d7d51d (diff) | |
download | chromium_src-11aba074694d4345c16eabc00963198e78d1e9c4.zip chromium_src-11aba074694d4345c16eabc00963198e78d1e9c4.tar.gz chromium_src-11aba074694d4345c16eabc00963198e78d1e9c4.tar.bz2 |
Delete unused WebViewDelegate method.
The code in TestWebViewDelegate was unreachable.
R=dglazkov
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/193079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25951 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webframeloaderclient_impl.cc')
-rw-r--r-- | webkit/glue/webframeloaderclient_impl.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/webkit/glue/webframeloaderclient_impl.cc b/webkit/glue/webframeloaderclient_impl.cc index d864839..355e301 100644 --- a/webkit/glue/webframeloaderclient_impl.cc +++ b/webkit/glue/webframeloaderclient_impl.cc @@ -560,10 +560,8 @@ void WebFrameLoaderClient::dispatchWillClose() { } void WebFrameLoaderClient::dispatchDidReceiveIcon() { - WebViewImpl* webview = webframe_->GetWebViewImpl(); - WebViewDelegate* d = webview->delegate(); - if (d) - d->DidReceiveIconForFrame(webview, webframe_); + // The icon database is disabled, so this should never be called. + ASSERT_NOT_REACHED(); } void WebFrameLoaderClient::dispatchDidStartProvisionalLoad() { |