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

Issue 2664943002: Mark Layer Damaged When The Client Is Gone (Closed)

Created:
3 years, 10 months ago by qiangchen
Modified:
3 years, 10 months ago
Reviewers:
danakj
CC:
chromium-reviews, posciak+watch_chromium.org, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mark Layer Damaged When The Client Is Gone We found a bug that black boxes are seen when hangouts switches focused participants. It is related to an issue that we did not mark the layer hosting WebMediaPlayerMS damaged properly. This CL fixed that issue. BUG=681006 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2664943002 Cr-Commit-Position: refs/heads/master@{#447811} Committed: https://chromium.googlesource.com/chromium/src/+/101569dac2a9cee88240aa87fc695b9b6fb93aa1

Patch Set 1 #

Patch Set 2 : Format #

Patch Set 3 : Unittest #

Total comments: 2

Patch Set 4 : Add test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -0 lines) Patch
M cc/layers/video_frame_provider_client_impl.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layers/video_frame_provider_client_impl_unittest.cc View 1 2 3 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (14 generated)
qiangchen
Can you take a look?
3 years, 10 months ago (2017-01-30 22:04:29 UTC) #4
danakj
Can you add tests?
3 years, 10 months ago (2017-01-30 22:09:47 UTC) #5
qiangchen
On 2017/01/30 22:09:47, danakj (slow) wrote: > Can you add tests? Sure, then I'll need ...
3 years, 10 months ago (2017-01-30 22:16:10 UTC) #8
danakj
On Mon, Jan 30, 2017 at 5:16 PM, <qiangchen@chromium.org> wrote: > On 2017/01/30 22:09:47, danakj ...
3 years, 10 months ago (2017-01-30 22:17:52 UTC) #9
qiangchen
On 2017/01/30 22:17:52, danakj (slow) wrote: > On Mon, Jan 30, 2017 at 5:16 PM, ...
3 years, 10 months ago (2017-01-30 23:47:50 UTC) #12
danakj
https://cs.chromium.org/chromium/src/cc/layers/video_frame_provider_client_impl_unittest.cc?rcl=0&l=69 was what I saw.
3 years, 10 months ago (2017-01-30 23:50:08 UTC) #13
qiangchen
On 2017/01/30 23:50:08, danakj (slow) wrote: > https://cs.chromium.org/chromium/src/cc/layers/video_frame_provider_client_impl_unittest.cc?rcl=0&l=69 > was what I saw. Got it. ...
3 years, 10 months ago (2017-01-30 23:56:43 UTC) #14
qiangchen
Add a unittest
3 years, 10 months ago (2017-01-31 17:14:52 UTC) #17
qiangchen
Can you take a look? Just a couple lines of change.
3 years, 10 months ago (2017-02-01 17:18:20 UTC) #20
danakj
https://codereview.chromium.org/2664943002/diff/40001/cc/layers/video_frame_provider_client_impl_unittest.cc File cc/layers/video_frame_provider_client_impl_unittest.cc (right): https://codereview.chromium.org/2664943002/diff/40001/cc/layers/video_frame_provider_client_impl_unittest.cc#newcode109 cc/layers/video_frame_provider_client_impl_unittest.cc:109: StopRendering(); Can you also stop before start and see ...
3 years, 10 months ago (2017-02-01 17:52:10 UTC) #21
qiangchen
Added a test case. https://codereview.chromium.org/2664943002/diff/40001/cc/layers/video_frame_provider_client_impl_unittest.cc File cc/layers/video_frame_provider_client_impl_unittest.cc (right): https://codereview.chromium.org/2664943002/diff/40001/cc/layers/video_frame_provider_client_impl_unittest.cc#newcode109 cc/layers/video_frame_provider_client_impl_unittest.cc:109: StopRendering(); On 2017/02/01 17:52:09, danakj ...
3 years, 10 months ago (2017-02-01 18:52:00 UTC) #22
danakj
On 2017/02/01 18:52:00, qiangchen wrote: > Added a test case. > > https://codereview.chromium.org/2664943002/diff/40001/cc/layers/video_frame_provider_client_impl_unittest.cc > File ...
3 years, 10 months ago (2017-02-01 19:37:49 UTC) #23
qiangchen
On 2017/02/01 19:37:49, danakj (slow) wrote: > On 2017/02/01 18:52:00, qiangchen wrote: > > Added ...
3 years, 10 months ago (2017-02-01 20:15:29 UTC) #24
danakj
On Wed, Feb 1, 2017 at 3:15 PM, <qiangchen@chromium.org> wrote: > On 2017/02/01 19:37:49, danakj ...
3 years, 10 months ago (2017-02-01 20:20:33 UTC) #25
qiangchen
On 2017/02/01 20:20:33, danakj (slow) wrote: > On Wed, Feb 1, 2017 at 3:15 PM, ...
3 years, 10 months ago (2017-02-02 17:46:23 UTC) #26
danakj
I see what you mean. The code could change in the future to report damage ...
3 years, 10 months ago (2017-02-02 17:51:54 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2664943002/60001
3 years, 10 months ago (2017-02-02 17:57:04 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/101569dac2a9cee88240aa87fc695b9b6fb93aa1
3 years, 10 months ago (2017-02-02 19:09:12 UTC) #32
qiangchen
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2667383009/ by qiangchen@chromium.org. ...
3 years, 10 months ago (2017-02-03 21:46:41 UTC) #33
danakj
Looks like Stop() should set the active layer to null before calling StopRendering()
3 years, 10 months ago (2017-02-06 19:57:28 UTC) #34
qiangchen
On 2017/02/06 19:57:28, danakj wrote: > Looks like Stop() should set the active layer to ...
3 years, 10 months ago (2017-02-10 19:45:15 UTC) #35
danakj
3 years, 10 months ago (2017-02-10 22:46:27 UTC) #36
Message was sent while issue was closed.
On Fri, Feb 10, 2017 at 2:45 PM, <qiangchen@chromium.org> wrote:

> On 2017/02/06 19:57:28, danakj wrote:
> > Looks like Stop() should set the active layer to null before calling
> > StopRendering()
>
> If we do that, the black box issue will come back.
> Let me try the solution that marking damage when the video_layer_ is set.
>

Will it? Stop() is called when the VideoLayerImpl is being destroyed. Is it
called at other times? I tried to find but didn't.


>
> https://codereview.chromium.org/2664943002/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698