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

Issue 10912086: Add CHECKs to ensure that PPAPI resources are created on the right thread (Closed)

Created:
8 years, 3 months ago by raymes
Modified:
8 years, 3 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Add CHECKs to ensure that PPAPI resources are created on the right thread These CHECKs could be converted to DCHECKs at some point. But we should get a clear idea of how often this is happening and what issues it is responsible for first. BUG=146415, 92909 TEST=Ran test case in http://code.google.com/p/chromium/issues/detail?id=143183 and checked that the CHECK fired. NOTRY=true Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155257

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -1 line) Patch
M chrome/test/ppapi/ppapi_browsertest.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/shared_impl/resource_tracker.h View 1 2 3 chunks +17 lines, -1 line 0 comments Download
M ppapi/shared_impl/resource_tracker.cc View 8 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
raymes
8 years, 3 months ago (2012-09-05 22:59:49 UTC) #1
dmichael (off chromium)
lgtm https://chromiumcodereview.appspot.com/10912086/diff/8001/ppapi/shared_impl/resource_tracker.cc File ppapi/shared_impl/resource_tracker.cc (right): https://chromiumcodereview.appspot.com/10912086/diff/8001/ppapi/shared_impl/resource_tracker.cc#newcode200 ppapi/shared_impl/resource_tracker.cc:200: void ResourceTracker::LastPluginRefWasDeleted(Resource* object) { Is there any reason ...
8 years, 3 months ago (2012-09-06 02:57:26 UTC) #2
raymes
Thanks https://chromiumcodereview.appspot.com/10912086/diff/8001/ppapi/shared_impl/resource_tracker.cc File ppapi/shared_impl/resource_tracker.cc (right): https://chromiumcodereview.appspot.com/10912086/diff/8001/ppapi/shared_impl/resource_tracker.cc#newcode200 ppapi/shared_impl/resource_tracker.cc:200: void ResourceTracker::LastPluginRefWasDeleted(Resource* object) { On 2012/09/06 02:57:26, dmichael ...
8 years, 3 months ago (2012-09-06 16:23:59 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/10912086/10003
8 years, 3 months ago (2012-09-06 16:24:12 UTC) #4
commit-bot: I haz the power
Try job failure for 10912086-10003 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 3 months ago (2012-09-06 18:22:01 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/10912086/10003
8 years, 3 months ago (2012-09-06 18:32:56 UTC) #6
commit-bot: I haz the power
Try job failure for 10912086-10003 (retry) on win_rel for step "sync_integration_tests". It's a second try, ...
8 years, 3 months ago (2012-09-06 21:37:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/10912086/10003
8 years, 3 months ago (2012-09-06 21:40:23 UTC) #8
commit-bot: I haz the power
8 years, 3 months ago (2012-09-06 22:03:28 UTC) #9
Change committed as 155257

Powered by Google App Engine
This is Rietveld 408576698