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

Unified Diff: content/public/browser/web_contents_observer.cc

Issue 10823315: Tighten up content/public DEPS rules using new checkdeps features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get rid of bad line endings, I guess. Created 8 years, 4 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/public/browser/DEPS ('k') | content/public/common/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents_observer.cc
diff --git a/content/public/browser/web_contents_observer.cc b/content/public/browser/web_contents_observer.cc
index 30292565b8e57bad97c3f784e84faeed0b24fcb9..07b4592599a7590b7ae99830a4535b16954429b9 100644
--- a/content/public/browser/web_contents_observer.cc
+++ b/content/public/browser/web_contents_observer.cc
@@ -4,9 +4,9 @@
#include "content/public/browser/web_contents_observer.h"
-#include "content/browser/renderer_host/render_view_host_impl.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/public/browser/navigation_details.h"
+#include "content/public/browser/render_view_host.h"
namespace content {
@@ -47,8 +47,7 @@ bool WebContentsObserver::Send(IPC::Message* message) {
return false;
}
- return static_cast<RenderViewHostImpl*>(
- web_contents_->GetRenderViewHost())->Send(message);
+ return web_contents_->GetRenderViewHost()->Send(message);
}
int WebContentsObserver::routing_id() const {
« no previous file with comments | « content/public/browser/DEPS ('k') | content/public/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698