summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/applescript
diff options
context:
space:
mode:
authortwiz@google.com <twiz@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-12 21:24:59 +0000
committertwiz@google.com <twiz@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-12 21:24:59 +0000
commitb283a75393c7c54e33ca7d25f9eec55ac6a2960b (patch)
treef18455820a1e47b5da8602f7ebc0a99296866e11 /chrome/browser/cocoa/applescript
parent8e07d29abff1de820b4ca5105534f3bcc6a0510d (diff)
downloadchromium_src-b283a75393c7c54e33ca7d25f9eec55ac6a2960b.zip
chromium_src-b283a75393c7c54e33ca7d25f9eec55ac6a2960b.tar.gz
chromium_src-b283a75393c7c54e33ca7d25f9eec55ac6a2960b.tar.bz2
Clone of issue 2941001. See initial review below.
http://codereview.chromium.org/2941001 Initial submit broke the chromeos build. This patch includes the original change, and fixes to compile ChromeOs properly. BUG=None TEST=None Review URL: http://codereview.chromium.org/2819086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55951 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/applescript')
-rw-r--r--chrome/browser/cocoa/applescript/window_applescript.mm6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/applescript/window_applescript.mm b/chrome/browser/cocoa/applescript/window_applescript.mm
index cb2eb81..4b04896 100644
--- a/chrome/browser/cocoa/applescript/window_applescript.mm
+++ b/chrome/browser/cocoa/applescript/window_applescript.mm
@@ -175,7 +175,8 @@
-1, // To indicate tab is inserted at end.
TabStripModel::ADD_SELECTED,
NULL,
- std::string());
+ std::string(),
+ NULL);
tabContents->set_new_tab_start_time(newTabStartTime);
[aTab setTabContent:tabContents];
@@ -196,7 +197,8 @@
index,
TabStripModel::ADD_SELECTED,
NULL,
- std::string());
+ std::string(),
+ NULL);
tabContents->set_new_tab_start_time(newTabStartTime);
[aTab setTabContent:tabContents];