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

Issue 2714973002: Fix check for changing SurfaceId. (Closed)

Created:
3 years, 10 months ago by kylechar
Modified:
3 years, 9 months ago
Reviewers:
Fady Samuel, jbauman
CC:
chromium-reviews, cc-bugs_chromium.org, Fady Samuel
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix check for changing SurfaceId. A condition got inverted so that we get the old value after we've changed it to the new value. This means the old and new value are always equal. Swap the order of statements to fix problem. BUG=none CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2714973002 Cr-Commit-Position: refs/heads/master@{#453230} Committed: https://chromium.googlesource.com/chromium/src/+/6f93ae7170a0c21a8e1011e4ff8940361d6dc9b6

Patch Set 1 #

Patch Set 2 : Add test for display root references. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -7 lines) Patch
M cc/surfaces/compositor_frame_sink_support.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M cc/surfaces/compositor_frame_sink_support_unittest.cc View 1 5 chunks +45 lines, -6 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (11 generated)
kylechar
3 years, 10 months ago (2017-02-24 18:50:02 UTC) #3
danakj
Drive-by request for unit test
3 years, 10 months ago (2017-02-24 19:06:39 UTC) #4
kylechar
On 2017/02/24 19:06:39, danakj wrote: > Drive-by request for unit test Will do.
3 years, 10 months ago (2017-02-24 19:11:39 UTC) #5
jbauman
lgtm
3 years, 10 months ago (2017-02-25 00:17:44 UTC) #6
kylechar
Thanks! I added a test that covers this case as well.
3 years, 9 months ago (2017-02-27 15:02:26 UTC) #7
Fady Samuel
lgtm
3 years, 9 months ago (2017-02-27 16:16:19 UTC) #13
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/2714973002/20001
3 years, 9 months ago (2017-02-27 16:17:11 UTC) #16
commit-bot: I haz the power
3 years, 9 months ago (2017-02-27 16:22:17 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6f93ae7170a0c21a8e1011e4ff89...

Powered by Google App Engine
This is Rietveld 408576698