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

Issue 152983004: Fix RenderWidgetHostViewAura as observer of CompositorVSyncManager (Closed)

Created:
6 years, 10 months ago by sheu
Modified:
6 years, 10 months ago
Reviewers:
piman
CC:
chromium-reviews, joi+watch-content_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, miu+watch_chromium.org
Visibility:
Public.

Description

Fix RenderWidgetHostViewAura as observer of CompositorVSyncManager RWHVA needs to deregister itself properly as an observer of CompositorVSyncManager even if the compositor itself is destroyed. Do this properly by keeping a reference to the CompositorVSyncManager. BUG=343199 TEST=local build, run on desktop Linux, Win7 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251017

Patch Set 1 : b7832f28 Initial. #

Total comments: 1

Patch Set 2 : 80b1f69d piman@ comments #

Total comments: 1

Patch Set 3 : 06cb4ed4 Nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -7 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.h View 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 5 chunks +15 lines, -7 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
sheu
piman@: to fix the Windows crash. PTAL, thanks!
6 years, 10 months ago (2014-02-13 01:31:59 UTC) #1
piman
https://chromiumcodereview.appspot.com/152983004/diff/60001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://chromiumcodereview.appspot.com/152983004/diff/60001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode3538 content/browser/renderer_host/render_widget_host_view_aura.cc:3538: if (compositor) { You need to deregister yourself from ...
6 years, 10 months ago (2014-02-13 01:44:36 UTC) #2
sheu
Done. PTAL
6 years, 10 months ago (2014-02-13 01:52:35 UTC) #3
piman
lgtm https://chromiumcodereview.appspot.com/152983004/diff/130001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://chromiumcodereview.appspot.com/152983004/diff/130001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode3535 content/browser/renderer_host/render_widget_host_view_aura.cc:3535: if (compositor) { nit: maybe DCHECK(!vsync_manager_.get()) here, and ...
6 years, 10 months ago (2014-02-13 02:06:44 UTC) #4
sheu
The CQ bit was checked by sheu@chromium.org
6 years, 10 months ago (2014-02-13 02:10:49 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/152983004/220001
6 years, 10 months ago (2014-02-13 02:18:21 UTC) #6
commit-bot: I haz the power
6 years, 10 months ago (2014-02-13 15:18:39 UTC) #7
Message was sent while issue was closed.
Change committed as 251017

Powered by Google App Engine
This is Rietveld 408576698