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

Issue 7054063: Fix a lock re-entry bug in GpuDataManager::UpdateGpuInfo. (Closed)

Created:
9 years, 6 months ago by Zhenyao Mo
Modified:
9 years, 6 months ago
Reviewers:
jbates
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

Fix a lock re-entry bug in GpuDataManager::UpdateGpuInfo. The issue is that the registered callbacks could request GPUInfo, so they could re-enter the lock. Therefore, we should release the lock before we run through callbacks. BUG=84805 TEST=the issue in 84805 is gone. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=87898

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M content/browser/gpu/gpu_data_manager.cc View 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Zhenyao Mo
Please review.
9 years, 6 months ago (2011-06-03 22:53:48 UTC) #1
jbates
9 years, 6 months ago (2011-06-03 23:00:36 UTC) #2
On 2011/06/03 22:53:48, Zhenyao Mo wrote:
> Please review.

LGTM

Powered by Google App Engine
This is Rietveld 408576698