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

Issue 860283005: Set defaultPageScaleLimits before setIgnoreViewportTagScaleLimits (Closed)

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

Description

Set defaultPageScaleLimits before setIgnoreViewportTagScaleLimits setIgnoreViewportTagScaleLimits copies the default limits into the UA constraints. This was happening before the defualt limits were set during initialization so it was clamping page scale at [1,1]. BUG=453377 Committed: https://crrev.com/ebbcc53e21fbfe15a76fa7fbf6d14c84095880ee Cr-Commit-Position: refs/heads/master@{#314668}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Added comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -4 lines) Patch
M content/renderer/render_view_impl.cc View 1 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
bokan
You were right, it was the ordering with setting the defaults. AFAICT, there's no unit ...
5 years, 10 months ago (2015-02-04 06:38:10 UTC) #2
aelias_OOO_until_Jul13
lgtm, sounds reasonable. Adding sievers@ for OWNERS.
5 years, 10 months ago (2015-02-04 08:11:57 UTC) #4
no sievers
lgtm https://codereview.chromium.org/860283005/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/860283005/diff/1/content/renderer/render_view_impl.cc#newcode1072 content/renderer/render_view_impl.cc:1072: you probably want to add a test, or ...
5 years, 10 months ago (2015-02-04 19:30:01 UTC) #5
bokan
Added a comment (since test in this case is hard, see above).
5 years, 10 months ago (2015-02-04 20:16:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/860283005/20001
5 years, 10 months ago (2015-02-04 20:18:04 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/22987)
5 years, 10 months ago (2015-02-04 21:44:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/860283005/20001
5 years, 10 months ago (2015-02-04 21:46:15 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-04 22:50:04 UTC) #14
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/ebbcc53e21fbfe15a76fa7fbf6d14c84095880ee Cr-Commit-Position: refs/heads/master@{#314668}
5 years, 10 months ago (2015-02-04 22:51:04 UTC) #15
dcheng
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/897173003/ by dcheng@chromium.org. ...
5 years, 10 months ago (2015-02-05 02:33:50 UTC) #16
dcheng
5 years, 10 months ago (2015-02-05 02:34:42 UTC) #18
Message was sent while issue was closed.
Example of a failing run:
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.8%20%28r...

Unfortunately, I can't repro locally, so I'm guessing...

Powered by Google App Engine
This is Rietveld 408576698