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

Issue 2693903003: ozone: Fix HardwareDisplayController::AddCrtc. (Closed)

Created:
3 years, 10 months ago by Daniele Castagna
Modified:
3 years, 10 months ago
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ozone: Fix HardwareDisplayController::AddCrtc. crrev.com/2603863002 replaced ScopedPtrHashMap with unordered_map. The CL replaced the statement owned_hardware_planes_.add(drm, plane_list) with owned_hardware_planes_[drm.get()] = plane_list While ScopedPtrHashMap::add did nothing if the key was already present, the new operation on the unordered_map is now always resetting the list of planes every time the statement is executed. This new unintented behavior introduced a regression (crbug.com/687290). This CL restores the original intended behavior. BUG=687290 Review-Url: https://codereview.chromium.org/2693903003 Cr-Commit-Position: refs/heads/master@{#450125} Committed: https://chromium.googlesource.com/chromium/src/+/e2b768afd564f860a3dc32db6e0114ca6e0db9f6

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M ui/ozone/platform/drm/gpu/hardware_display_controller.cc View 1 chunk +6 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
Daniele Castagna
3 years, 10 months ago (2017-02-13 20:28:42 UTC) #4
Avi (use Gerrit)
Yes, of course. LGTM Apologies for the regression.
3 years, 10 months ago (2017-02-13 20:49:09 UTC) #6
rjkroege
lgtm
3 years, 10 months ago (2017-02-13 20:50:54 UTC) #7
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/2693903003/1
3 years, 10 months ago (2017-02-13 22:34:58 UTC) #11
commit-bot: I haz the power
3 years, 10 months ago (2017-02-13 22:42:11 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/e2b768afd564f860a3dc32db6e01...

Powered by Google App Engine
This is Rietveld 408576698