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

Issue 2901413004: chromeos: Fix handling of null in NativeDisplayDelegate (Closed)

Created:
3 years, 7 months ago by sky
Modified:
3 years, 7 months ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, rjkroege, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos: Fix handling of null in NativeDisplayDelegate NativeDisplayDelegate::ConfigureDisplays() may be passed null. The mojom didn't have the ? though and the code wasn't dealing appropriately. BUG=706589 TEST=none R=rockot@chromium.org, tsepez@chromium.org Review-Url: https://codereview.chromium.org/2901413004 Cr-Commit-Position: refs/heads/master@{#475041} Committed: https://chromium.googlesource.com/chromium/src/+/ce00cf81df6d6949fb64023c486f23792ca131e8

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -5 lines) Patch
M services/ui/display/screen_manager_forwarding.h View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/display/screen_manager_forwarding.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/display/manager/forwarding_display_delegate.cc View 1 chunk +5 lines, -1 line 0 comments Download
M ui/display/mojo/native_display_delegate.mojom View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (9 generated)
sky
3 years, 7 months ago (2017-05-25 22:40:53 UTC) #1
Ken Rockot(use gerrit already)
LGTM. This is probably an issue for another time, but I have to wonder if ...
3 years, 7 months ago (2017-05-26 00:38:28 UTC) #4
sky
On 2017/05/26 00:38:28, Ken Rockot(use gerrit already) wrote: > LGTM. This is probably an issue ...
3 years, 7 months ago (2017-05-26 02:26:16 UTC) #7
Tom Sepez
lgtm
3 years, 7 months ago (2017-05-26 16:38:03 UTC) #8
rjkroege
(possibly useless comment) but DrmNativeDisplayDelegate::Configure would crash if DisplayMode is null.
3 years, 7 months ago (2017-05-26 17:09:21 UTC) #9
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/2901413004/1
3 years, 7 months ago (2017-05-26 17:18:50 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-05-26 17:24:17 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/ce00cf81df6d6949fb64023c486f...

Powered by Google App Engine
This is Rietveld 408576698