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

Issue 2739103004: Fix incorrect padding size with NTP. (Closed)

Created:
3 years, 9 months ago by aelias_OOO_until_Jul13
Modified:
3 years, 9 months ago
Reviewers:
Changwan Ryu
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix incorrect padding size with NTP. ContentLayer::ComputeSize() could return the wrong value when can_use_live_layer is false because the live layer would be hidden by detaching it from the parent layer. That's not observable by the early-returns in GetDrawsContentLeaf, so a full live layer size could be returned, resulting in insufficient padding. Switching to HideLayerAndSubtree instead makes it observed by one early-return. BUG=696977, 699478 Review-Url: https://codereview.chromium.org/2739103004 Cr-Commit-Position: refs/heads/master@{#455999} Committed: https://chromium.googlesource.com/chromium/src/+/665e60f501059b311b9d4e2ae97f5fc90025289e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M chrome/browser/android/compositor/layer/content_layer.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
aelias_OOO_until_Jul13
Hi changwan@, PTAL.
3 years, 9 months ago (2017-03-10 03:48:01 UTC) #2
Changwan Ryu
lgtm
3 years, 9 months ago (2017-03-10 04:03:01 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/2739103004/1
3 years, 9 months ago (2017-03-10 04:20:02 UTC) #6
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 04:54:51 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/665e60f501059b311b9d4e2ae97f...

Powered by Google App Engine
This is Rietveld 408576698