Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Issue 10270035: gdata: Fix a bug where |root_| was accessed without a lock (Closed)

Created:
8 years, 7 months ago by satorux1
Modified:
8 years, 7 months ago
Reviewers:
achuithb
CC:
chromium-reviews, achuith+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

gdata: Fix a bug where |root_| was accessed without a lock |root_| was accessed without a lock in FindEntryByPathOnCallingThread(), which is used to complete FindEntryByPathAsync(). Along the way, rename FindEntryByPathOnCallingThread() to FindEntryByPathSyncOnUIThread(), and add a couple of DCHECK(CurrentlyOn(UI)), where FindEntryByPathSyncOnUIThread() is called. BUG=chromium-os:30204 TEST=unit tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=134763

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -10 lines) Patch
M chrome/browser/chromeos/gdata/gdata_file_system.h View 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 7 chunks +13 lines, -6 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
satorux1
8 years, 7 months ago (2012-05-01 18:18:32 UTC) #1
achuithb
8 years, 7 months ago (2012-05-01 19:27:17 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698