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

Issue 2809553002: Fix corner case if another rotation request comes before the copy request finishes. (Closed)

Created:
3 years, 8 months ago by wutao
Modified:
3 years, 8 months ago
Reviewers:
oshima
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix corner case if another rotation request comes before the copy request finishes. We can return immediately if another rotation request comes before the copy request finishes. BUG= Review-Url: https://codereview.chromium.org/2809553002 Cr-Commit-Position: refs/heads/master@{#463458} Committed: https://chromium.googlesource.com/chromium/src/+/4a485532d97f667f4bdac8d81d992caf6e28872a

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add enum state for screen rotation animation. #

Total comments: 4

Patch Set 3 : Add TODO to handle cancel the copy request or ignore the copy result. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -22 lines) Patch
M ash/rotator/screen_rotation_animator.h View 1 1 chunk +11 lines, -1 line 0 comments Download
M ash/rotator/screen_rotation_animator.cc View 1 2 6 chunks +30 lines, -21 lines 2 comments Download

Messages

Total messages: 23 (13 generated)
wutao
Hi Oshima, Would you please have a look of this fix. Thank you. Tao
3 years, 8 months ago (2017-04-10 01:48:45 UTC) #2
oshima
https://codereview.chromium.org/2809553002/diff/1/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/2809553002/diff/1/ash/rotator/screen_rotation_animator.cc#newcode426 ash/rotator/screen_rotation_animator.cc:426: if (!old_layer_tree_owner_) what's the exact call sequence that reaches ...
3 years, 8 months ago (2017-04-10 18:38:46 UTC) #7
wutao
Hi Oshima, Add the enum state, please review. Best, Tao https://codereview.chromium.org/2809553002/diff/1/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/2809553002/diff/1/ash/rotator/screen_rotation_animator.cc#newcode426 ...
3 years, 8 months ago (2017-04-10 21:19:22 UTC) #8
oshima
https://codereview.chromium.org/2809553002/diff/20001/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/2809553002/diff/20001/ash/rotator/screen_rotation_animator.cc#newcode385 ash/rotator/screen_rotation_animator.cc:385: switches::kAshEnableSmoothScreenRotation); was this for debugging? https://codereview.chromium.org/2809553002/diff/20001/ash/rotator/screen_rotation_animator.cc#newcode402 ash/rotator/screen_rotation_animator.cc:402: break; We ...
3 years, 8 months ago (2017-04-10 22:56:59 UTC) #9
wutao
Hi Oshima, I removed the debugging flag and added a TODO. I will start another ...
3 years, 8 months ago (2017-04-10 23:17:55 UTC) #10
oshima
lgtm
3 years, 8 months ago (2017-04-10 23:18:56 UTC) #11
oshima
https://codereview.chromium.org/2809553002/diff/40001/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/2809553002/diff/40001/ash/rotator/screen_rotation_animator.cc#newcode417 ash/rotator/screen_rotation_animator.cc:417: std::move(last_pending_request_); by the way, do you need to move ...
3 years, 8 months ago (2017-04-10 23:20:39 UTC) #14
wutao
https://codereview.chromium.org/2809553002/diff/40001/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/2809553002/diff/40001/ash/rotator/screen_rotation_animator.cc#newcode417 ash/rotator/screen_rotation_animator.cc:417: std::move(last_pending_request_); On 2017/04/10 23:20:39, oshima wrote: > by the ...
3 years, 8 months ago (2017-04-10 23:56:18 UTC) #18
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/2809553002/40001
3 years, 8 months ago (2017-04-10 23:56:38 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-04-11 00:09:45 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/4a485532d97f667f4bdac8d81d99...

Powered by Google App Engine
This is Rietveld 408576698