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

Unified Diff: trunk/src/extensions/browser/extension_function.cc

Issue 271863005: Revert 268939 "Pass RenderFrameHost to WebContentObservers' mess..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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
« no previous file with comments | « trunk/src/content/public/browser/web_contents_observer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/extensions/browser/extension_function.cc
===================================================================
--- trunk/src/extensions/browser/extension_function.cc (revision 269074)
+++ trunk/src/extensions/browser/extension_function.cc (working copy)
@@ -130,16 +130,6 @@
function_->SetRenderFrameHost(NULL);
}
- virtual bool OnMessageReceived(
- const IPC::Message& message,
- content::RenderFrameHost* render_frame_host) OVERRIDE {
- DCHECK(render_frame_host);
- if (render_frame_host == function_->render_frame_host())
- return function_->OnMessageReceived(message);
- else
- return false;
- }
-
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE {
return function_->OnMessageReceived(message);
}
« no previous file with comments | « trunk/src/content/public/browser/web_contents_observer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698