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

Issue 22574004: Make targetDensity-dpi account for deviceScaleFactor correctly. (Closed)

Created:
7 years, 4 months ago by mkosiba (inactive)
Modified:
7 years, 4 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, mnaganov (inactive), fmalita_google_do_not_use, tdanderson
Visibility:
Public.

Description

Make targetDensity-dpi account for deviceScaleFactor correctly. The fact that the deviceScaleFactor is applied unconditionally needs to be accounted for in the targetDensity-dpi scale factor computation. BUG=None TEST=WebFrameTest R=abarth@chromium.org, aelias@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155837

Patch Set 1 #

Patch Set 2 : add test #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -11 lines) Patch
M Source/core/page/PageScaleConstraintsSet.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 1 chunk +23 lines, -10 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
mkosiba (inactive)
7 years, 4 months ago (2013-08-07 17:15:56 UTC) #1
mkosiba (inactive)
Adam - PTAL + cc: mnaganov
7 years, 4 months ago (2013-08-07 17:19:47 UTC) #2
abarth-chromium
> TEST=WebFrameTest ^^ Which WebFrameTest fails before that passes now? You'll probably need to introduce ...
7 years, 4 months ago (2013-08-07 18:16:16 UTC) #3
abarth-chromium
LGTM assuming you add a test.
7 years, 4 months ago (2013-08-07 23:09:23 UTC) #4
mkosiba (inactive)
Thanks Adam! It looks like the pressure is off for cramming this CL in, so ...
7 years, 4 months ago (2013-08-08 11:22:04 UTC) #5
abarth-chromium
LGTM. Thanks.
7 years, 4 months ago (2013-08-08 17:52:40 UTC) #6
aelias_OOO_until_Jul13
lgtm https://codereview.chromium.org/22574004/diff/8001/Source/core/page/PageScaleConstraintsSet.cpp File Source/core/page/PageScaleConstraintsSet.cpp (right): https://codereview.chromium.org/22574004/diff/8001/Source/core/page/PageScaleConstraintsSet.cpp#newcode114 Source/core/page/PageScaleConstraintsSet.cpp:114: // Since the return value is multiplied by ...
7 years, 4 months ago (2013-08-08 18:34:37 UTC) #7
mkosiba (inactive)
https://codereview.chromium.org/22574004/diff/8001/Source/core/page/PageScaleConstraintsSet.cpp File Source/core/page/PageScaleConstraintsSet.cpp (right): https://codereview.chromium.org/22574004/diff/8001/Source/core/page/PageScaleConstraintsSet.cpp#newcode114 Source/core/page/PageScaleConstraintsSet.cpp:114: // Since the return value is multiplied by deviceScaleFactor ...
7 years, 4 months ago (2013-08-09 09:35:25 UTC) #8
mkosiba (inactive)
Committed patchset #3 manually as r155837 (presubmit successful).
7 years, 4 months ago (2013-08-09 12:29:08 UTC) #9
f(malita)
On 2013/08/09 12:29:08, mkosiba wrote: > Committed patchset #3 manually as r155837 (presubmit successful). This ...
7 years, 4 months ago (2013-08-09 15:59:11 UTC) #10
mkosiba (inactive)
7 years, 4 months ago (2013-08-09 16:08:14 UTC) #11
Message was sent while issue was closed.
on it, will disable test and update expectations + reenable after roll lands

Powered by Google App Engine
This is Rietveld 408576698