Commit ce7fda22 authored by jam@chromium.org's avatar jam@chromium.org

fix cros build

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107864 0039d316-1c4b-4281-b951-d872f2087c98
parent badf5cf5
...@@ -117,7 +117,7 @@ void ChromeBrowserMainPartsChromeos::PreMainMessageLoopStart() { ...@@ -117,7 +117,7 @@ void ChromeBrowserMainPartsChromeos::PreMainMessageLoopStart() {
// Initialize CrosLibrary only for the browser, unless running tests // Initialize CrosLibrary only for the browser, unless running tests
// (which do their own CrosLibrary setup). // (which do their own CrosLibrary setup).
if (!parameters().ui_task) { if (!parameters().ui_task) {
bool use_stub = parameters().command_line_.HasSwitch(switches::kStubCros); bool use_stub = parameters().command_line.HasSwitch(switches::kStubCros);
chromeos::CrosLibrary::Initialize(use_stub); chromeos::CrosLibrary::Initialize(use_stub);
} }
// Replace the default NetworkChangeNotifierFactory with ChromeOS specific // Replace the default NetworkChangeNotifierFactory with ChromeOS specific
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment