diff options
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/chrome_dll_main.cc | 4 | ||||
-rw-r--r-- | chrome/app/chrome_exe_main.mm | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc index 6978e7b..768ace1 100644 --- a/chrome/app/chrome_dll_main.cc +++ b/chrome/app/chrome_dll_main.cc @@ -144,7 +144,7 @@ bool IncorrectChromeHtmlArguments(const std::wstring& command_line) { // The browser is being launched with chromehtml: somewhere on the command // line. We will not launch unless it's preceded by the -- switch terminator. if (pos >= kOffset) { - if (equal(kChromeHtml, kChromeHtml + arraysize(kChromeHtml) - 1, + if (equal(kChromeHtml, kChromeHtml + arraysize(kChromeHtml) - 1, command_line_lower.begin() + pos - kOffset)) { return false; } @@ -239,7 +239,7 @@ int ChromeMain(int argc, const char** argv) { // The exit manager is in charge of calling the dtors of singleton objects. base::AtExitManager exit_manager; - // We need this pool for all the objects created before we get to the + // We need this pool for all the objects created before we get to the // event loop, but we don't want to leave them hanging around until the // app quits. Each "main" needs to flush this pool right before it goes into // its main event loop to get rid of the cruft. diff --git a/chrome/app/chrome_exe_main.mm b/chrome/app/chrome_exe_main.mm index aea88ef..f6c78e0 100644 --- a/chrome/app/chrome_exe_main.mm +++ b/chrome/app/chrome_exe_main.mm @@ -23,9 +23,9 @@ int main(int argc, const char** argv) { // The exit manager is in charge of calling the dtors of singletons. // Win has one here, but we assert with multiples from BrowserMain() if we - // keep it. + // keep it. // base::AtExitManager exit_manager; - + #if defined(GOOGLE_CHROME_BUILD) // TODO(pinkerton): init crash reporter #endif |