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

Unified Diff: chromecast/app/cast_main_delegate.cc

Issue 1153173006: Chromecast: use CastContent{Browser,Renderer}Client as a base class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rm excess methods Created 5 years, 6 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 | « no previous file | chromecast/browser/cast_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/app/cast_main_delegate.cc
diff --git a/chromecast/app/cast_main_delegate.cc b/chromecast/app/cast_main_delegate.cc
index 58c7507eaf3bbe435ad88e958f3b8d9ddc31d273..e90c34f295e0618b9be42c17b4147b240f97729a 100644
--- a/chromecast/app/cast_main_delegate.cc
+++ b/chromecast/app/cast_main_delegate.cc
@@ -150,13 +150,13 @@ void CastMainDelegate::InitializeResourceBundle() {
}
content::ContentBrowserClient* CastMainDelegate::CreateContentBrowserClient() {
- browser_client_.reset(new CastContentBrowserClient);
+ browser_client_ = CastContentBrowserClient::Create();
return browser_client_.get();
}
content::ContentRendererClient*
CastMainDelegate::CreateContentRendererClient() {
- renderer_client_.reset(new CastContentRendererClient);
+ renderer_client_ = CastContentRendererClient::Create();
return renderer_client_.get();
}
« no previous file with comments | « no previous file | chromecast/browser/cast_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698