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

Issue 230223008: [videofling] Page not rendered after leaving ECA on ICS/JB MR0 (Closed)

Created:
6 years, 8 months ago by May
Modified:
6 years, 8 months ago
Reviewers:
qinmin, Sami
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Reset surface format in ContentViewRenderView. This prevents issues with the tab not rendering if an activity starts over the FS video view. BUG=356663 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263050

Patch Set 1 #

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

Messages

Total messages: 10 (0 generated)
May
Tests pass, whoop! Was afraid I'd end up breaking something with this change.
6 years, 8 months ago (2014-04-10 12:34:34 UTC) #1
Sami
lgtm, thanks for the fix!
6 years, 8 months ago (2014-04-10 13:49:49 UTC) #2
May
The CQ bit was checked by maybelle@chromium.org
6 years, 8 months ago (2014-04-10 17:22:04 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maybelle@chromium.org/230223008/1
6 years, 8 months ago (2014-04-10 17:23:44 UTC) #4
commit-bot: I haz the power
Change committed as 263050
6 years, 8 months ago (2014-04-10 19:33:30 UTC) #5
no sievers
On 2014/04/10 19:33:30, I haz the power (commit-bot) wrote: > Change committed as 263050 Huh? ...
6 years, 8 months ago (2014-04-10 20:42:34 UTC) #6
May
On 2014/04/10 20:42:34, sievers wrote: > On 2014/04/10 19:33:30, I haz the power (commit-bot) wrote: ...
6 years, 8 months ago (2014-04-11 14:44:49 UTC) #7
no sievers
On 2014/04/11 14:44:49, may wrote: > On 2014/04/10 20:42:34, sievers wrote: > > On 2014/04/10 ...
6 years, 8 months ago (2014-04-11 16:06:08 UTC) #8
May
On 2014/04/11 16:06:08, sievers wrote: > On 2014/04/11 14:44:49, may wrote: > > On 2014/04/10 ...
6 years, 8 months ago (2014-04-11 16:13:26 UTC) #9
qinmin
6 years, 8 months ago (2014-04-11 16:28:08 UTC) #10
Message was sent while issue was closed.
On 2014/04/11 16:13:26, may wrote:
> On 2014/04/11 16:06:08, sievers wrote:
> > On 2014/04/11 14:44:49, may wrote:
> > > On 2014/04/10 20:42:34, sievers wrote:
> > > > On 2014/04/10 19:33:30, I haz the power (commit-bot) wrote:
> > > > > Change committed as 263050
> > > > 
> > > > Huh?
> > > > 
> > > > The surface_format gets reset in SurfaceDestroyed. Why is this
necessary?
> > > > Also see comment #27 in bug 356663
> > > 
> > > A surface is created when going back from the FS activity to Chrome
> (triggered
> > > by window visibility changed). It's using the same surface_format variable
> as
> > > the surface that was created by CompositorView.setOverlayVideoMode(false).
> > 
> > We have to synchronously tear down the old surface (SurfaceDestroyed), are
we
> > doing that?
> 
> Not the ContentVideoView surface, no. According to Min, that destroy needs to
be
> posted. I attempted to make that synchronous, but I would encounter a NPE
> (crbug.com/360050).

That issue is about the fact that we cannot call removeview(surfaceView) inside
SurfaceDestroyed().
And the issue here is that we don't see a surfaceDestroyed() before
SurfaceCreated(). So it is a separate issue.

Powered by Google App Engine
This is Rietveld 408576698