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

Issue 948603002: Fix resize ACK bug (Closed)

Created:
5 years, 10 months ago by no sievers
Modified:
5 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix resize ACK bug It's possible for a view to start up and resize itself to a nonzero size without ever receiving (and without ever requesting) a resize ACK: 1) Resize from 0,0 to W,H while physical_backing_size == 0 -> no paint, no ack because physical backing is empty 2) Resize from W,H to W,H (viewport doesn't change), but with physical backing changing to nonzero -> this now triggers a compositor resize and a paint, but the current logic does not think an ACK is necessary However, receiving at least one resize ACK for every viewport change is essential. (For example to update RenderWidgetHostImpl::current_size_.) BUG=338011 Committed: https://crrev.com/ae6cfa2c5e0cebb5c7f6c7bdf62f8117138f93e1 Cr-Commit-Position: refs/heads/master@{#318296}

Patch Set 1 #

Patch Set 2 : updates tests #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -31 lines) Patch
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 1 2 3 6 chunks +22 lines, -30 lines 0 comments Download

Messages

Total messages: 21 (4 generated)
no sievers
This is an issue jaekyun is running into with https://codereview.chromium.org/888793002/ and content_browser_tests. I applied that ...
5 years, 10 months ago (2015-02-21 00:44:38 UTC) #2
Jaekyun Seok (inactive)
On 2015/02/21 00:44:38, sievers wrote: > This is an issue jaekyun is running into with ...
5 years, 10 months ago (2015-02-23 05:35:54 UTC) #3
aelias_OOO_until_Jul13
For reference, the last patches to touch this were https://chromiumcodereview.appspot.com/14779010 and https://chromiumcodereview.appspot.com/18413004. Do we know ...
5 years, 10 months ago (2015-02-23 20:47:35 UTC) #4
no sievers
I'll do a little more digging and see if this is a regression somehow. But ...
5 years, 10 months ago (2015-02-23 22:01:53 UTC) #5
no sievers
Unfortunately after reviewing the previous discussions, I think this patch is actually the logical consequence ...
5 years, 10 months ago (2015-02-24 01:54:08 UTC) #6
no sievers
On 2015/02/24 01:54:08, sievers wrote: > Unfortunately after reviewing the previous discussions, I think this ...
5 years, 10 months ago (2015-02-24 01:54:40 UTC) #8
piman
On 2015/02/24 01:54:40, sievers wrote: > On 2015/02/24 01:54:08, sievers wrote: > > Unfortunately after ...
5 years, 10 months ago (2015-02-24 02:50:35 UTC) #9
no sievers
On 2015/02/24 02:50:35, piman (Very slow to review) wrote: > On 2015/02/24 01:54:40, sievers wrote: ...
5 years, 10 months ago (2015-02-25 00:55:58 UTC) #10
no sievers
Ok rebased over my other patch. See updated comment and added test. I thought of ...
5 years, 10 months ago (2015-02-26 00:23:06 UTC) #11
piman
On 2015/02/26 00:23:06, sievers wrote: > Ok rebased over my other patch. > > See ...
5 years, 10 months ago (2015-02-26 00:53:00 UTC) #12
no sievers
On 2015/02/26 00:53:00, piman (Very slow to review) wrote: > On 2015/02/26 00:23:06, sievers wrote: ...
5 years, 10 months ago (2015-02-26 01:07:44 UTC) #13
piman
On Wed, Feb 25, 2015 at 5:07 PM, <sievers@chromium.org> wrote: > On 2015/02/26 00:53:00, piman ...
5 years, 10 months ago (2015-02-26 01:25:20 UTC) #14
no sievers
On 2015/02/26 01:25:20, piman (Very slow to review) wrote: > On Wed, Feb 25, 2015 ...
5 years, 10 months ago (2015-02-26 02:56:53 UTC) #15
piman
lgtm
5 years, 10 months ago (2015-02-26 19:28:49 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/948603002/60001
5 years, 10 months ago (2015-02-26 19:32:23 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-26 20:22:41 UTC) #20
commit-bot: I haz the power
5 years, 10 months ago (2015-02-26 20:23:49 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ae6cfa2c5e0cebb5c7f6c7bdf62f8117138f93e1
Cr-Commit-Position: refs/heads/master@{#318296}

Powered by Google App Engine
This is Rietveld 408576698