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

Issue 12249002: Setting a custom background on a HiDPI display will result in the background only being applied to … (Closed)

Created:
7 years, 10 months ago by Horia Olaru
Modified:
7 years, 10 months ago
Reviewers:
jamesr, Nico, jeremya
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jeremya, varunjain
Visibility:
Public.

Description

Setting a custom background on a HiDPI display will result in the background only being applied to the top left corner of the view. Scaling the canvas to the device scale factor before applying the clip rect for painting the background fixes the issue. BUG=175698 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184100

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase on top of latest trunk - only the AUTHORS files needed updating #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M AUTHORS View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Horia Olaru
7 years, 10 months ago (2013-02-12 10:28:22 UTC) #1
jamesr
https://codereview.chromium.org/12249002/diff/1/AUTHORS File AUTHORS (right): https://codereview.chromium.org/12249002/diff/1/AUTHORS#newcode224 AUTHORS:224: Horia Olaru <olaru@adobe.com> Have you signed a CLA? (see ...
7 years, 10 months ago (2013-02-13 01:43:21 UTC) #2
Horia Olaru
On 2013/02/13 01:43:21, jamesr wrote: > https://codereview.chromium.org/12249002/diff/1/AUTHORS > File AUTHORS (right): > > https://codereview.chromium.org/12249002/diff/1/AUTHORS#newcode224 > ...
7 years, 10 months ago (2013-02-13 02:09:06 UTC) #3
jamesr
On 2013/02/13 02:09:06, Horia Olaru wrote: > On 2013/02/13 01:43:21, jamesr wrote: > > https://codereview.chromium.org/12249002/diff/1/AUTHORS ...
7 years, 10 months ago (2013-02-13 02:12:03 UTC) #4
Nico
https://codereview.chromium.org/12249002/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/12249002/diff/1/content/renderer/render_widget.cc#newcode1805 content/renderer/render_widget.cc:1805: void RenderWidget::SetBackground(const SkBitmap& background) { Is this function even ...
7 years, 10 months ago (2013-02-13 22:56:44 UTC) #5
Horia Olaru
https://codereview.chromium.org/12249002/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/12249002/diff/1/content/renderer/render_widget.cc#newcode1805 content/renderer/render_widget.cc:1805: void RenderWidget::SetBackground(const SkBitmap& background) { On 2013/02/13 22:56:44, Nico ...
7 years, 10 months ago (2013-02-13 23:41:21 UTC) #6
Horia Olaru
Friendly poke.
7 years, 10 months ago (2013-02-18 16:22:08 UTC) #7
Nico
This makes sense to me, lgtm. Feel free to hit the commit queue checkbox. (+jeremya ...
7 years, 10 months ago (2013-02-21 18:55:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/olaru@adobe.com/12249002/1
7 years, 10 months ago (2013-02-21 18:57:30 UTC) #9
commit-bot: I haz the power
Failed to apply patch for AUTHORS: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 10 months ago (2013-02-21 18:57:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/olaru@adobe.com/12249002/18001
7 years, 10 months ago (2013-02-21 19:09:55 UTC) #11
commit-bot: I haz the power
Presubmit check for 12249002-18001 failed and returned exit status 1. INFO:root:Found 2 file(s). Running presubmit ...
7 years, 10 months ago (2013-02-21 19:09:58 UTC) #12
Nico
jamesr: Can you OWNERS-stamp, please?
7 years, 10 months ago (2013-02-21 19:14:18 UTC) #13
jamesr
On 2013/02/21 19:14:18, Nico wrote: > jamesr: Can you OWNERS-stamp, please? lgtm
7 years, 10 months ago (2013-02-21 19:16:09 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/olaru@adobe.com/12249002/18001
7 years, 10 months ago (2013-02-21 20:09:36 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/olaru@adobe.com/12249002/18001
7 years, 10 months ago (2013-02-21 22:09:23 UTC) #16
jeremya
https://codereview.chromium.org/12249002/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/12249002/diff/1/content/renderer/render_widget.cc#newcode1805 content/renderer/render_widget.cc:1805: void RenderWidget::SetBackground(const SkBitmap& background) { This is used to ...
7 years, 10 months ago (2013-02-21 22:19:29 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/olaru@adobe.com/12249002/18001
7 years, 10 months ago (2013-02-22 12:22:24 UTC) #18
commit-bot: I haz the power
7 years, 10 months ago (2013-02-22 13:37:46 UTC) #19
Message was sent while issue was closed.
Change committed as 184100

Powered by Google App Engine
This is Rietveld 408576698