diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 16:14:19 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 16:14:19 +0000 |
commit | 2ca5a8942401d20b7626dbee2a615a49cae0c6ab (patch) | |
tree | 220aa7601ee498532a4397094fdbeba52acaa5fd /chrome/browser/ui/gtk/global_bookmark_menu.cc | |
parent | f3ccbc863dac3b0d4ddfc3fc811c808fed5143ee (diff) | |
download | chromium_src-2ca5a8942401d20b7626dbee2a615a49cae0c6ab.zip chromium_src-2ca5a8942401d20b7626dbee2a615a49cae0c6ab.tar.gz chromium_src-2ca5a8942401d20b7626dbee2a615a49cae0c6ab.tar.bz2 |
gtk: Call the non-deprecated version of OpenURL() which receives OpenURLParams.
BUG=None
TEST=None
R=tony@chromium.org
Review URL: http://codereview.chromium.org/7830018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99380 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/gtk/global_bookmark_menu.cc')
-rw-r--r-- | chrome/browser/ui/gtk/global_bookmark_menu.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/gtk/global_bookmark_menu.cc b/chrome/browser/ui/gtk/global_bookmark_menu.cc index 801cf60..04d36ef 100644 --- a/chrome/browser/ui/gtk/global_bookmark_menu.cc +++ b/chrome/browser/ui/gtk/global_bookmark_menu.cc @@ -261,7 +261,7 @@ void GlobalBookmarkMenu::OnBookmarkItemActivated(GtkWidget* menu_item) { const BookmarkNode* node = static_cast<const BookmarkNode*>( g_object_get_data(G_OBJECT(menu_item), "bookmark-node")); - browser_->OpenURL(node->url(), GURL(), NEW_FOREGROUND_TAB, - PageTransition::AUTO_BOOKMARK); + browser_->OpenURL(OpenURLParams(node->url(), GURL(), NEW_FOREGROUND_TAB, + PageTransition::AUTO_BOOKMARK)); } |