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

Issue 317633006: Move SnapToPhysicalPixelBoundary call to RWHVA::InternalSetBounds (Closed)

Created:
6 years, 6 months ago by jamesr
Modified:
6 years, 6 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, miu+watch_chromium.org, scottmg
Visibility:
Public.

Description

Move SnapToPhysicalPixelBoundary call to RWHVA::InternalSetBounds RWHVAura::SetBounds isn't actually called in most situations, so the snapping wasn't occuring when it should. ::SetSize is actually called when the bounds of the RWHVA changes and both call ::InternalSetBounds(), so this calls the snapping logic there. BUG=370074 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275994

Patch Set 1 #

Patch Set 2 : store subpixel offset in ui::Layer #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -5 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M ui/compositor/layer.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M ui/compositor/layer.cc View 1 2 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 29 (0 generated)
jamesr
6 years, 6 months ago (2014-06-04 22:29:23 UTC) #1
jamesr
I broke the previous patch locally at some point by moving the caller to ::SetBounds() ...
6 years, 6 months ago (2014-06-04 22:31:48 UTC) #2
Ben Goodger (Google)
On 2014/06/04 22:31:48, jamesr wrote: > I broke the previous patch locally at some point ...
6 years, 6 months ago (2014-06-05 15:52:07 UTC) #3
jamesr
On 2014/06/05 15:52:07, Ben Goodger (Google) wrote: > On 2014/06/04 22:31:48, jamesr wrote: > > ...
6 years, 6 months ago (2014-06-06 00:41:32 UTC) #4
danakj
I don't think this helps us with switching out the cc layer (we'll reuse the ...
6 years, 6 months ago (2014-06-06 15:03:57 UTC) #5
jamesr
On 2014/06/06 15:03:57, danakj wrote: > I don't think this helps us with switching out ...
6 years, 6 months ago (2014-06-06 20:41:49 UTC) #6
danakj
On 2014/06/06 20:41:49, jamesr wrote: > On 2014/06/06 15:03:57, danakj wrote: > > I don't ...
6 years, 6 months ago (2014-06-06 20:46:34 UTC) #7
Ben Goodger (Google)
lgtm
6 years, 6 months ago (2014-06-06 22:48:35 UTC) #8
jamesr
The CQ bit was checked by jamesr@chromium.org
6 years, 6 months ago (2014-06-06 22:49:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/317633006/20001
6 years, 6 months ago (2014-06-06 22:50:05 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 6 months ago (2014-06-06 23:20:59 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-06 23:24:36 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/72298)
6 years, 6 months ago (2014-06-06 23:24:37 UTC) #13
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 6 months ago (2014-06-07 14:01:59 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/317633006/20001
6 years, 6 months ago (2014-06-07 14:02:47 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 6 months ago (2014-06-07 14:04:42 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-07 14:06:33 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/72373)
6 years, 6 months ago (2014-06-07 14:06:34 UTC) #18
jamesr
The CQ bit was checked by jamesr@chromium.org
6 years, 6 months ago (2014-06-09 17:23:53 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/317633006/20001
6 years, 6 months ago (2014-06-09 17:26:07 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 6 months ago (2014-06-09 22:39:07 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-09 22:45:09 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/72573)
6 years, 6 months ago (2014-06-09 22:45:10 UTC) #23
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 6 months ago (2014-06-09 22:54:18 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/317633006/20001
6 years, 6 months ago (2014-06-09 22:56:16 UTC) #25
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 6 months ago (2014-06-09 23:03:32 UTC) #26
jamesr
The CQ bit was checked by jamesr@chromium.org
6 years, 6 months ago (2014-06-09 23:06:05 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/317633006/40001
6 years, 6 months ago (2014-06-09 23:07:13 UTC) #28
commit-bot: I haz the power
6 years, 6 months ago (2014-06-10 12:32:38 UTC) #29
Message was sent while issue was closed.
Change committed as 275994

Powered by Google App Engine
This is Rietveld 408576698