Commit 18277fcc authored by yoshiki@chromium.org's avatar yoshiki@chromium.org

Drive: fix the DCHECK condition on stopping update watch.

BUG=none
R=hshi@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10830076

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149366 0039d316-1c4b-4281-b951-d872f2087c98
parent ac73dbc1
......@@ -238,7 +238,7 @@ void FileBrowserEventRouter::HandleRemoteUpdateRequestOnUIThread(bool start) {
file_system->StartUpdates();
++num_remote_update_requests_;
} else {
DCHECK_LE(0, num_remote_update_requests_);
DCHECK_LE(1, num_remote_update_requests_);
--num_remote_update_requests_;
if (num_remote_update_requests_ == 0)
file_system->StopUpdates();
......
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