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

Unified Diff: chrome/browser/tab_contents/background_contents.cc

Issue 3263007: Reland r57788 - Expose Extension Bindings to Component Applications (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: don't hide gallery url in omnibar Created 10 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
Index: chrome/browser/tab_contents/background_contents.cc
diff --git a/chrome/browser/tab_contents/background_contents.cc b/chrome/browser/tab_contents/background_contents.cc
index 7b35bdc867443699a8a32ff640d0bff53be2fa90..b33ae3245f228cadcdca6124a5e603b100264574 100644
--- a/chrome/browser/tab_contents/background_contents.cc
+++ b/chrome/browser/tab_contents/background_contents.cc
@@ -166,13 +166,14 @@ void BackgroundContents::CreateNewWindow(
int route_id,
WindowContainerType window_container_type,
const string16& frame_name) {
- delegate_view_helper_.CreateNewWindow(route_id,
- render_view_host_->process()->profile(),
- render_view_host_->site_instance(),
- DOMUIFactory::GetDOMUIType(url_),
- this,
- window_container_type,
- frame_name);
+ delegate_view_helper_.CreateNewWindow(
+ route_id,
+ render_view_host_->process()->profile(),
+ render_view_host_->site_instance(),
+ DOMUIFactory::GetDOMUIType(render_view_host_->process()->profile(), url_),
+ this,
+ window_container_type,
+ frame_name);
}
void BackgroundContents::CreateNewWidget(int route_id,
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.h ('k') | chrome/browser/tab_contents/render_view_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698