From 119249cce896d66562dd0b7bbf9d693fd6c61043 Mon Sep 17 00:00:00 2001 From: "jamescook@chromium.org" Date: Tue, 3 Jan 2012 21:44:03 +0000 Subject: 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 --- .../chromeos/legacy_window_manager/initial_browser_window_observer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/chromeos') 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)); } -- cgit v1.1