From 22735af65d1f55a2eec8c95c1b87fe7f608a1dc6 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Tue, 7 Apr 2009 21:09:58 +0000 Subject: Re-land popup routing fix for browser. Just the bugfix + test now. Test is disabled pending a working framework. http://crbug.com/8472 Review URL: http://codereview.chromium.org/59007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13282 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/extensions/extension_tabs_module.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome/browser/extensions/extension_tabs_module.cc') diff --git a/chrome/browser/extensions/extension_tabs_module.cc b/chrome/browser/extensions/extension_tabs_module.cc index 8568b43..5d0f6f2 100644 --- a/chrome/browser/extensions/extension_tabs_module.cc +++ b/chrome/browser/extensions/extension_tabs_module.cc @@ -44,7 +44,8 @@ bool CreateTabFunction::RunImpl() { // TODO(aa): Handle all the other properties of the new tab. std::string url; static_cast(args_)->GetString(L"url", &url); - browser->AddTabWithURL(GURL(url), GURL(), PageTransition::TYPED, true, NULL); + browser->AddTabWithURL(GURL(url), GURL(), PageTransition::TYPED, true, -1, + NULL); // Return data about the newly created tab. if (has_callback()) -- cgit v1.1