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

Issue 7859018: Fix a couple of data races found by TSAN Race Verifier in VideoCaptureController. (Closed)

Created:
9 years, 3 months ago by Ami GONE FROM CHROMIUM
Modified:
9 years, 3 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, Alexander Potapenko, ddorwin+watch_chromium.org, fischman+watch_chromium.org, acolwell+watch_chromium.org, jam, annacc+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM), pam+watch_chromium.org, Timur Iskhodzhanov, stuartmorgan+watch_chromium.org, scherkus (not reviewing)
Visibility:
Public.

Description

Fix a couple of data races found by TSAN Race Verifier in VideoCaptureController. Tested by removing the suppression and verifying that this command-line fails before and passes after the .cc file change: ./tools/valgrind/chrome_tests.sh --build_dir=ninja/Debug --test content --tool tsan_rv --gtest_filter=VideoCaptureHostTest.StartCaptureErrorStop BUG=86507 TEST=see above Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100446

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -9 lines) Patch
M content/browser/renderer_host/media/video_capture_controller.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M tools/valgrind/tsan/suppressions.txt View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Ami GONE FROM CHROMIUM
9 years, 3 months ago (2011-09-08 23:05:51 UTC) #1
scherkus (not reviewing)
LGTM TSAN FTMFW
9 years, 3 months ago (2011-09-09 00:59:55 UTC) #2
commit-bot: I haz the power
9 years, 3 months ago (2011-09-09 18:36:46 UTC) #3
Change committed as 100446

Powered by Google App Engine
This is Rietveld 408576698