summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview_impl.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-24 06:57:10 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-24 06:57:10 +0000
commitb2528b7bc699a5ff432636ee6b13e6ea559b4ac8 (patch)
treeb7d4c65c5e3ddef8e23f176ccdd71386d62633df /webkit/glue/webview_impl.cc
parent8445640d01d91669819883ac480d8e60f2d6cfa5 (diff)
downloadchromium_src-b2528b7bc699a5ff432636ee6b13e6ea559b4ac8.zip
chromium_src-b2528b7bc699a5ff432636ee6b13e6ea559b4ac8.tar.gz
chromium_src-b2528b7bc699a5ff432636ee6b13e6ea559b4ac8.tar.bz2
Move some more methods from WebViewDelegate to WebViewClient.
R=dglazkov BUG=10033 TEST=none Review URL: http://codereview.chromium.org/224010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27054 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webview_impl.cc')
-rw-r--r--webkit/glue/webview_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/webview_impl.cc b/webkit/glue/webview_impl.cc
index 5cb6a29..409d766 100644
--- a/webkit/glue/webview_impl.cc
+++ b/webkit/glue/webview_impl.cc
@@ -1876,8 +1876,8 @@ WebCore::Node* WebViewImpl::GetNodeForWindowPos(int x, int y) {
#if ENABLE(NOTIFICATIONS)
WebKit::NotificationPresenterImpl* WebViewImpl::GetNotificationPresenter() {
- if (!notification_presenter_.isInitialized() && delegate_)
- notification_presenter_.initialize(delegate_->GetNotificationPresenter());
+ if (!notification_presenter_.isInitialized() && client())
+ notification_presenter_.initialize(client()->notificationPresenter());
return &notification_presenter_;
}
#endif