Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2341)

Unified Diff: chrome/browser/notifications/notification_object_proxy.cc

Issue 580243004: Remove unnecessary image downloading handler of notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: re-upload Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/notifications/notification_object_proxy.cc
diff --git a/chrome/browser/notifications/notification_object_proxy.cc b/chrome/browser/notifications/notification_object_proxy.cc
index a21b4c0bf6290b24444fd94e2bf224a4cd0dbdd0..a54aaf38246f05fdb9d76ae3b0c8d47e63a355b6 100644
--- a/chrome/browser/notifications/notification_object_proxy.cc
+++ b/chrome/browser/notifications/notification_object_proxy.cc
@@ -48,8 +48,3 @@ void NotificationObjectProxy::Click() {
std::string NotificationObjectProxy::id() const {
return id_;
}
-
-content::WebContents* NotificationObjectProxy::GetWebContents() const {
- return content::WebContents::FromRenderFrameHost(
- content::RenderFrameHost::FromID(render_process_id_, render_frame_id_));
-}

Powered by Google App Engine
This is Rietveld 408576698