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

Issue 381703002: Explicitly resize inner viewport container layer on SetViewportSize (Closed)

Created:
6 years, 5 months ago by bokan
Modified:
6 years, 5 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Project:
chromium
Visibility:
Public.

Description

Explicitly resize inner viewport container layer on SetViewportSize SetViewportSize previously relied on UpdateInnerViewportContainerSize to resize the inner viewport container layer; however, as of r253909, this method is a no-op if the container layer has masks_to_bounds set (i.e. non-Android platforms). This fix explicitly resizes the inner viewport container layer to be the same size as the newly resized device viewport before calling UpdateInnerViewportContainerSize. This fixes the situation in the bug where the viewport size is changed but nothing in the layer tree changes so no new frame is committed. BUG=387678 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282687

Patch Set 1 #

Patch Set 2 : set_needs_update_draw_properties #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M cc/trees/layer_tree_host_impl.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
bokan
Alexandre, PTAL. Thanks.
6 years, 5 months ago (2014-07-09 17:02:22 UTC) #1
aelias_OOO_until_Jul13
If I understand correctly, you're forcing an update-draw-properties by temporarily changing the viewport size to ...
6 years, 5 months ago (2014-07-11 00:06:26 UTC) #2
bokan
On 2014/07/11 00:06:26, aelias wrote: > If I understand correctly, you're forcing an update-draw-properties by ...
6 years, 5 months ago (2014-07-11 18:14:50 UTC) #3
aelias_OOO_until_Jul13
On 2014/07/11 at 18:14:50, bokan wrote: > On 2014/07/11 00:06:26, aelias wrote: > > If ...
6 years, 5 months ago (2014-07-11 18:18:42 UTC) #4
bokan
The CQ bit was checked by bokan@chromium.org
6 years, 5 months ago (2014-07-11 18:21:47 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bokan@chromium.org/381703002/20001
6 years, 5 months ago (2014-07-11 18:23:03 UTC) #6
commit-bot: I haz the power
6 years, 5 months ago (2014-07-11 20:29:32 UTC) #7
Message was sent while issue was closed.
Change committed as 282687

Powered by Google App Engine
This is Rietveld 408576698