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

Issue 8432020: aura: Work around RenderWidgetHostTest.Background segfault. (Closed)

Created:
9 years, 1 month ago by Daniel Erat
Modified:
9 years, 1 month ago
CC:
chromium-reviews, jam, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., James Su
Visibility:
Public.

Description

aura: Work around RenderWidgetHostTest.Background segfault. This test was creating an aura::Window but not calling its Init() method, resulting in a segfault when RenderWidgetHostViewAura::SetBackground() tried to access the window's layer. I have a more ambitious change in progress to add a RenderWidgetHostView::InitAsChild() method and update a bunch of callers; this is just a quick workaround so try bots will stop failing. BUG=102450 TEST=manual: test no longer segfaults Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108048

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -6 lines) Patch
M chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Daniel Erat
9 years, 1 month ago (2011-11-01 00:24:44 UTC) #1
sky
9 years, 1 month ago (2011-11-01 00:28:59 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698