diff options
Diffstat (limited to 'chrome/browser/extensions/extension_tabs_module.cc')
-rw-r--r-- | chrome/browser/extensions/extension_tabs_module.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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<const DictionaryValue*>(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()) |