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

Issue 2916153002: Fix CompositorSurfaceManager synthetic surfaceCreated arg order. (Closed)

Created:
3 years, 6 months ago by liberato (no reviews please)
Modified:
3 years, 6 months ago
Reviewers:
Ted C
CC:
chromium-reviews, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix CompositorSurfaceManager synthetic surfaceCreated arg order. When sending a synthetic surfaceChanged to the client, CSM swapped the order of the width, height pair with the surface format. As a result, the compositor got the wrong value for all of them. This CL also updates the test to check for this case, since it was using anyInt() in the matchers previously. BUG=728790 TEST=CompositorSurfaceManagerTest Review-Url: https://codereview.chromium.org/2916153002 Cr-Commit-Position: refs/heads/master@{#476706} Committed: https://chromium.googlesource.com/chromium/src/+/4b1deb98719a901d1050f200e64d9164d1b2912b

Patch Set 1 #

Total comments: 2

Patch Set 2 : added private #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -25 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/compositor/CompositorSurfaceManager.java View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/android/junit/src/org/chromium/chrome/browser/compositor/CompositorSurfaceManagerTest.java View 1 6 chunks +34 lines, -23 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
liberato (no reviews please)
hi -- this CL fixes something that i broke. :) luckily, the bad call doesn't ...
3 years, 6 months ago (2017-06-01 21:25:53 UTC) #5
Ted C
lgtm https://codereview.chromium.org/2916153002/diff/1/chrome/android/junit/src/org/chromium/chrome/browser/compositor/CompositorSurfaceManagerTest.java File chrome/android/junit/src/org/chromium/chrome/browser/compositor/CompositorSurfaceManagerTest.java (right): https://codereview.chromium.org/2916153002/diff/1/chrome/android/junit/src/org/chromium/chrome/browser/compositor/CompositorSurfaceManagerTest.java#newcode57 chrome/android/junit/src/org/chromium/chrome/browser/compositor/CompositorSurfaceManagerTest.java:57: int mActualFormat; private for all of these?
3 years, 6 months ago (2017-06-01 23:27:27 UTC) #8
liberato (no reviews please)
thanks -fl https://codereview.chromium.org/2916153002/diff/1/chrome/android/junit/src/org/chromium/chrome/browser/compositor/CompositorSurfaceManagerTest.java File chrome/android/junit/src/org/chromium/chrome/browser/compositor/CompositorSurfaceManagerTest.java (right): https://codereview.chromium.org/2916153002/diff/1/chrome/android/junit/src/org/chromium/chrome/browser/compositor/CompositorSurfaceManagerTest.java#newcode57 chrome/android/junit/src/org/chromium/chrome/browser/compositor/CompositorSurfaceManagerTest.java:57: int mActualFormat; On 2017/06/01 23:27:27, Ted C ...
3 years, 6 months ago (2017-06-02 05:42:07 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/2916153002/20001
3 years, 6 months ago (2017-06-02 05:42:23 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/309023)
3 years, 6 months ago (2017-06-02 07:29:05 UTC) #14
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/2916153002/20001
3 years, 6 months ago (2017-06-02 16:48:14 UTC) #16
commit-bot: I haz the power
3 years, 6 months ago (2017-06-02 17:30:56 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/4b1deb98719a901d1050f200e64d...

Powered by Google App Engine
This is Rietveld 408576698