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

Issue 2890713002: Fix a bug in updating physical backing size (Closed)

Created:
3 years, 7 months ago by Jinsuk Kim
Modified:
3 years, 7 months ago
Reviewers:
nyquist, boliu
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix a bug in updating physical backing size |physical_size_| in ViewAndroid objects are valid from wcva down, while that in WindowAndroid is empty and not used. When adding a child, Empty physical size should not be propagated down since it can overwrite valid size in the children. It handles WindowAndroid case as well, in more general fashion. This changes fixes the test that became flaky by https://crrev.com/2842693005. BUG=721906 Review-Url: https://codereview.chromium.org/2890713002 Cr-Commit-Position: refs/heads/master@{#472694} Committed: https://chromium.googlesource.com/chromium/src/+/3577357065de1e5a173163335406faa28932c07c

Patch Set 1 : - #

Total comments: 2

Patch Set 2 : rebase #

Patch Set 3 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M chrome/android/javatests/src/org/chromium/chrome/browser/FullscreenWebContentsActivityTest.java View 2 chunks +0 lines, -2 lines 0 comments Download
M ui/android/view_android.cc View 1 2 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 20 (11 generated)
Jinsuk Kim
nyquist@ Please review changes in chrome/ boliu@ Please review changes in ui/
3 years, 7 months ago (2017-05-17 10:11:23 UTC) #6
boliu
https://codereview.chromium.org/2890713002/diff/40001/ui/android/view_android.cc File ui/android/view_android.cc (right): https://codereview.chromium.org/2890713002/diff/40001/ui/android/view_android.cc#newcode131 ui/android/view_android.cc:131: if (this != GetWindowAndroid()) maybe more generally, don't propagate ...
3 years, 7 months ago (2017-05-17 16:21:13 UTC) #7
Jinsuk Kim
https://codereview.chromium.org/2890713002/diff/40001/ui/android/view_android.cc File ui/android/view_android.cc (right): https://codereview.chromium.org/2890713002/diff/40001/ui/android/view_android.cc#newcode131 ui/android/view_android.cc:131: if (this != GetWindowAndroid()) On 2017/05/17 16:21:12, boliu wrote: ...
3 years, 7 months ago (2017-05-18 01:54:39 UTC) #9
boliu
lgtm
3 years, 7 months ago (2017-05-18 04:38:07 UTC) #10
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/2890713002/80001
3 years, 7 months ago (2017-05-18 04:45:33 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/440752)
3 years, 7 months ago (2017-05-18 04:59:12 UTC) #14
nyquist
chrome lgtm
3 years, 7 months ago (2017-05-18 05:38:24 UTC) #15
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/2890713002/80001
3 years, 7 months ago (2017-05-18 05:52:28 UTC) #17
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 05:58:50 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/3577357065de1e5a173163335406...

Powered by Google App Engine
This is Rietveld 408576698