summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authordhg@chromium.org <dhg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-20 23:48:01 +0000
committerdhg@chromium.org <dhg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-20 23:48:01 +0000
commit647c3a9f217a9236052e18c7b032669863dd1734 (patch)
tree4fe95d49040673dbc6b244e51acef401ccf10d4e /chrome/browser
parent8b8114e419cde13c91f35dee70e821c3d1048fde (diff)
downloadchromium_src-647c3a9f217a9236052e18c7b032669863dd1734.zip
chromium_src-647c3a9f217a9236052e18c7b032669863dd1734.tar.gz
chromium_src-647c3a9f217a9236052e18c7b032669863dd1734.tar.bz2
Fixing mounting case.
BUG=chromium-os:3292 TEST=none Review URL: http://codereview.chromium.org/2102013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47866 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/chromeos/usb_mount_observer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/usb_mount_observer.cc b/chrome/browser/chromeos/usb_mount_observer.cc
index c6d5db4..4dda09b 100644
--- a/chrome/browser/chromeos/usb_mount_observer.cc
+++ b/chrome/browser/chromeos/usb_mount_observer.cc
@@ -91,7 +91,7 @@ void USBMountObserver::MountChanged(chromeos::MountLibrary* obj,
} else if (evt == chromeos::DISK_CHANGED) {
BrowserIterator iter = FindBrowserForPath(path);
LOG(INFO) << "Got changed mount:" << path;
- if (iter == browsers_.end() && iter->browser) {
+ if (iter == browsers_.end()) {
// We don't currently have this one, so it must have been
// mounted
const chromeos::MountLibrary::DiskVector& disks = obj->disks();