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

Unified Diff: chrome/browser/ui/gtk/web_dialog_gtk.cc

Issue 10868072: Make TabContents ctor private; poke hole for existing callers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: all green 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 | « chrome/browser/ui/find_bar/find_backend_unittest.cc ('k') | chrome/browser/ui/gtk/web_intent_picker_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/web_dialog_gtk.cc
diff --git a/chrome/browser/ui/gtk/web_dialog_gtk.cc b/chrome/browser/ui/gtk/web_dialog_gtk.cc
index cd796acc17f34245b4621aa8c145a6244a597039..51c2a60cd9b32ecb7a9f6f08aea37162ceb7cf5f 100644
--- a/chrome/browser/ui/gtk/web_dialog_gtk.cc
+++ b/chrome/browser/ui/gtk/web_dialog_gtk.cc
@@ -204,7 +204,7 @@ void WebDialogGtk::HandleKeyboardEvent(content::WebContents* source,
// WebDialogGtk:
gfx::NativeWindow WebDialogGtk::InitDialog() {
- tab_.reset(new TabContents(WebContents::Create(
+ tab_.reset(TabContents::Factory::CreateTabContents(WebContents::Create(
browser_context(), NULL, MSG_ROUTING_NONE, NULL)));
tab_->web_contents()->SetDelegate(this);
« no previous file with comments | « chrome/browser/ui/find_bar/find_backend_unittest.cc ('k') | chrome/browser/ui/gtk/web_intent_picker_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698