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

Unified Diff: content/browser/intents/intent_injector.cc

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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 | « content/browser/intents/intent_injector.h ('k') | content/browser/renderer_host/backing_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/intents/intent_injector.cc
diff --git a/content/browser/intents/intent_injector.cc b/content/browser/intents/intent_injector.cc
index 0beee385f248ded8d992f2af9de4393c1d457830..03198892525e1254a190c4e3ea44abd07b2d826e 100644
--- a/content/browser/intents/intent_injector.cc
+++ b/content/browser/intents/intent_injector.cc
@@ -16,6 +16,7 @@
#include "webkit/glue/web_intent_data.h"
#include "webkit/glue/web_intent_reply_data.h"
+using content::RenderViewHost;
using content::WebContents;
IntentInjector::IntentInjector(WebContents* web_contents)
@@ -62,9 +63,8 @@ void IntentInjector::RenderViewCreated(RenderViewHost* render_view_host) {
return;
}
- static_cast<RenderViewHostImpl*>(render_view_host)->Send(
- new IntentsMsg_SetWebIntentData(
- render_view_host->GetRoutingID(), *(source_intent_.get())));
+ render_view_host->Send(new IntentsMsg_SetWebIntentData(
+ render_view_host->GetRoutingID(), *(source_intent_.get())));
}
bool IntentInjector::OnMessageReceived(const IPC::Message& message) {
« no previous file with comments | « content/browser/intents/intent_injector.h ('k') | content/browser/renderer_host/backing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698