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

Unified Diff: content/browser/tab_contents/tab_contents_view.cc

Issue 6708114: Revert 79691 - Move WebUIFactory to chrome/browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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/tab_contents/tab_contents.cc ('k') | content/browser/webui/empty_web_ui_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/tab_contents_view.cc
===================================================================
--- content/browser/tab_contents/tab_contents_view.cc (revision 79692)
+++ content/browser/tab_contents/tab_contents_view.cc (working copy)
@@ -37,7 +37,8 @@
route_id,
tab_contents_->profile(),
tab_contents_->GetSiteInstance(),
- tab_contents_->GetWebUITypeForCurrentState(),
+ WebUIFactory::GetWebUIType(tab_contents_->profile(),
+ tab_contents_->GetURL()),
tab_contents_,
params.window_container_type,
params.frame_name);
« no previous file with comments | « content/browser/tab_contents/tab_contents.cc ('k') | content/browser/webui/empty_web_ui_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698