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

Issue 1815513002: Remove unnecessary WebGLRenderingContextBase unregistration. (Closed)

Created:
4 years, 9 months ago by sof
Modified:
4 years, 9 months ago
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unnecessary WebGLRenderingContextBase unregistration. The garbage collector takes care of clearing out weak references to WebGLRenderingContextBase objects that the |forciblyEvictedContexts()| and |activateContexts()| sets keep, before the objects are finalized. Hence no need to additionally attempt to remove; just assert non-membership. R=haraken BUG= CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/fa7d8b396b85d9b6440a4f430ff90eb6a4c4a680 Cr-Commit-Position: refs/heads/master@{#381916}

Patch Set 1 #

Patch Set 2 : comment wording #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
sof
please take a look. There's good test coverage for the handling of weak references from ...
4 years, 9 months ago (2016-03-18 06:35:53 UTC) #3
haraken
LGTM
4 years, 9 months ago (2016-03-18 06:49:22 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1815513002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1815513002/20001
4 years, 9 months ago (2016-03-18 08:12:26 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-18 09:11:09 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/fa7d8b396b85d9b6440a4f430ff90eb6a4c4a680 Cr-Commit-Position: refs/heads/master@{#381916}
4 years, 9 months ago (2016-03-18 09:12:26 UTC) #11
Ken Russell (switch to Gerrit)
Thanks for the fix. Is this related to Issue 594129?
4 years, 9 months ago (2016-03-19 04:46:15 UTC) #12
sof
4 years, 9 months ago (2016-03-19 06:48:45 UTC) #13
Message was sent while issue was closed.
On 2016/03/19 04:46:15, Ken Russell wrote:
> Thanks for the fix. Is this related to Issue 594129?

Yes, a detail that showed up while going over the finalization of
WebGLRenderingContextBase.

Powered by Google App Engine
This is Rietveld 408576698