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

Issue 16911005: Fixing flaky ExtensionBrowsingDataTest.BrowsingDataRemovalMask test. (Closed)

Created:
7 years, 6 months ago by dsinclair
Modified:
7 years, 6 months ago
Reviewers:
apatrick_chromium
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

From the stack trace, it appears that the ShaderClearHelper is getting cleaned up when the BackendIO object is destroyed. The BackendIO is holding a ref to the ShaderClearHelper, so there is a race between when BackendIO gets cleaned up and when we drop the ref ourselves. This CL moves the callback to hold a WeakRef to the ShaderClearHelper which should better handle the cleanup. We don't need to pass refs into the callback because we know the callback has executed by the time we drop the ref in the ShaderCacheFactory. BUG=251742 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207956

Patch Set 1 #

Patch Set 2 : #

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

Messages

Total messages: 4 (0 generated)
dsinclair
apatrick, PTAL.
7 years, 6 months ago (2013-06-21 14:30:07 UTC) #1
apatrick_chromium
lgtm
7 years, 6 months ago (2013-06-21 18:07:19 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dsinclair@chromium.org/16911005/6001
7 years, 6 months ago (2013-06-21 18:42:07 UTC) #3
commit-bot: I haz the power
7 years, 6 months ago (2013-06-21 23:35:15 UTC) #4
Message was sent while issue was closed.
Change committed as 207956

Powered by Google App Engine
This is Rietveld 408576698