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

Issue 362403003: Prevent spinning up a layer tree view after closing (Closed)

Created:
6 years, 5 months ago by enne (OOO)
Modified:
6 years, 5 months ago
Reviewers:
jamesr
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

Prevent spinning up a layer tree view after closing This patch is a prerequisite for https://codereview.chromium.org/134623005/ which makes output surface creation asynchronous. In that patch, to prevent races between asynchronously closing the RenderWidgetHost and creating an output surface (which can't succeed if the host goes away), it destroys the layer tree view during RenderWidget::DoDeferredClose/closeWidgetSoon. Unfortunately, this causes issues in WebViewImpl which wants to assert that it has a layer tree view in all cases (except where null layer tree views are allowed). To prevent this, don't let accelerated compositing spin up (again, or for the first time) after the layer tree view has been closed. BUG=none Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177424

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M Source/web/WebViewImpl.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 3 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
enne (OOO)
jamesr, what do you think of this? This is the Blink side of the change ...
6 years, 5 months ago (2014-07-02 19:26:56 UTC) #1
jamesr
lgtm
6 years, 5 months ago (2014-07-02 19:31:50 UTC) #2
enne (OOO)
The CQ bit was checked by enne@chromium.org
6 years, 5 months ago (2014-07-02 21:14:29 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/362403003/1
6 years, 5 months ago (2014-07-02 21:14:59 UTC) #4
commit-bot: I haz the power
6 years, 5 months ago (2014-07-02 21:19:13 UTC) #5
Message was sent while issue was closed.
Change committed as 177424

Powered by Google App Engine
This is Rietveld 408576698