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

Issue 2857113002: [Remoting Client] Fix scaling bug in ViewMatrix (Closed)

Created:
3 years, 7 months ago by Yuwei
Modified:
3 years, 7 months ago
Reviewers:
joedow
CC:
chromium-reviews, chromoting-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Remoting Client] Fix scaling bug in ViewMatrix I've forgot to scale the old offset before adding the offset adjustment :P This CL fixes that bug and adds a test case to guard that pivot point remains fixed after scaling. BUG=714193 Review-Url: https://codereview.chromium.org/2857113002 Cr-Commit-Position: refs/heads/master@{#469047} Committed: https://chromium.googlesource.com/chromium/src/+/5ba48720088b63559dd073eb28dfcbc9c99542a5

Patch Set 1 #

Total comments: 2

Patch Set 2 : Resolve Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -0 lines) Patch
M remoting/client/desktop_viewport_unittest.cc View 1 3 chunks +41 lines, -0 lines 0 comments Download
M remoting/client/view_matrix.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
Yuwei
PTAL. Thanks!
3 years, 7 months ago (2017-05-03 01:35:38 UTC) #2
joedow
lgtm https://codereview.chromium.org/2857113002/diff/1/remoting/client/desktop_viewport_unittest.cc File remoting/client/desktop_viewport_unittest.cc (right): https://codereview.chromium.org/2857113002/diff/1/remoting/client/desktop_viewport_unittest.cc#newcode36 remoting/client/desktop_viewport_unittest.cc:36: ViewMatrix received_transformation_; nit: typically methods are listed before ...
3 years, 7 months ago (2017-05-03 14:53:17 UTC) #3
Yuwei
Thanks! https://codereview.chromium.org/2857113002/diff/1/remoting/client/desktop_viewport_unittest.cc File remoting/client/desktop_viewport_unittest.cc (right): https://codereview.chromium.org/2857113002/diff/1/remoting/client/desktop_viewport_unittest.cc#newcode36 remoting/client/desktop_viewport_unittest.cc:36: ViewMatrix received_transformation_; On 2017/05/03 14:53:17, joedow wrote: > ...
3 years, 7 months ago (2017-05-03 18:21:44 UTC) #4
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/2857113002/20001
3 years, 7 months ago (2017-05-03 18:22:34 UTC) #7
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 18:43:54 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/5ba48720088b63559dd073eb28df...

Powered by Google App Engine
This is Rietveld 408576698