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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_context_menu_controller_views_win.cc

Issue 10692195: Consolidate Browser Creation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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/ui/views/bookmarks/bookmark_context_menu_controller_views_win.cc
===================================================================
--- chrome/browser/ui/views/bookmarks/bookmark_context_menu_controller_views_win.cc (revision 148382)
+++ chrome/browser/ui/views/bookmarks/bookmark_context_menu_controller_views_win.cc (working copy)
@@ -44,7 +44,7 @@
if (!browser_) {
Profile* profile = (params.disposition == OFF_THE_RECORD) ?
profile_->GetOffTheRecordProfile() : profile_;
- browser_ = Browser::Create(profile);
+ browser_ = new Browser(Browser::CreateParams(profile));
}
OpenURLParams forward_params = params;

Powered by Google App Engine
This is Rietveld 408576698