summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos
diff options
context:
space:
mode:
authorjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-03 21:44:03 +0000
committerjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-03 21:44:03 +0000
commit119249cce896d66562dd0b7bbf9d693fd6c61043 (patch)
tree2292c34aa03fcf2432f1ceefe3f027a9fbbc80d6 /chrome/browser/chromeos
parent6eb6be9ceb3e2a0eb93b93a82d22f7c9b8dbd243 (diff)
downloadchromium_src-119249cce896d66562dd0b7bbf9d693fd6c61043.zip
chromium_src-119249cce896d66562dd0b7bbf9d693fd6c61043.tar.gz
chromium_src-119249cce896d66562dd0b7bbf9d693fd6c61043.tar.bz2
Aura: Write initial-chrome-window-mapped file from FILE thread
It was mistakenly being written from the IO thread, causing an assertion in debug on chrome startup. BUG=none TEST=chrome starts in Debug TBR=derat@chromium.org Review URL: http://codereview.chromium.org/9071017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116203 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos')
-rw-r--r--chrome/browser/chromeos/legacy_window_manager/initial_browser_window_observer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/legacy_window_manager/initial_browser_window_observer.cc b/chrome/browser/chromeos/legacy_window_manager/initial_browser_window_observer.cc
index b216474..b97f234 100644
--- a/chrome/browser/chromeos/legacy_window_manager/initial_browser_window_observer.cc
+++ b/chrome/browser/chromeos/legacy_window_manager/initial_browser_window_observer.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -40,7 +40,7 @@ void InitialBrowserWindowObserver::Observe(
const content::NotificationDetails& details) {
registrar_.RemoveAll();
content::BrowserThread::PostTask(
- content::BrowserThread::IO, FROM_HERE,
+ content::BrowserThread::FILE, FROM_HERE,
base::Bind(&WriteInitialWindowFile));
}