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

Issue 938013002: Set default page scale limits after setting webkit preferences. (Closed)

Created:
5 years, 10 months ago by bokan
Modified:
5 years, 10 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/pending/heads/master
Project:
blink
Visibility:
Public.

Description

Set default page scale limits after setting webkit preferences. The default page scale limits are now set from webkit preferences so this call was clobbering the defaults set for layout tests. BUG=450605

Patch Set 1 #

Patch Set 2 : Set defaultPageScaleLimit after setting WebKitPreferences #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M content/shell/renderer/layout_test/webkit_test_runner.cc View 1 2 chunks +1 line, -1 line 1 comment Download

Messages

Total messages: 5 (1 generated)
bokan
PTAL
5 years, 10 months ago (2015-02-19 13:49:38 UTC) #2
aelias_OOO_until_Jul13
Hmm, this seems fishy. On Android on a site without a viewport tag, the outer ...
5 years, 10 months ago (2015-02-19 21:03:42 UTC) #3
bokan
Ah, you're right! We were and are setting the minimum scale limit in layout tests ...
5 years, 10 months ago (2015-02-20 00:21:27 UTC) #4
aelias_OOO_until_Jul13
5 years, 10 months ago (2015-02-20 00:39:58 UTC) #5
This patch is still based against the Blink repo, you'll need to create a new CL
(or change the repo base using some kind of git magic).

https://codereview.chromium.org/938013002/diff/20001/content/shell/renderer/l...
File content/shell/renderer/layout_test/webkit_test_runner.cc (right):

https://codereview.chromium.org/938013002/diff/20001/content/shell/renderer/l...
content/shell/renderer/layout_test/webkit_test_runner.cc:675: // Resetting the
internals object also overrides the WebPreferences, so we
This comment indicates that the resetInternalsObject call also needs to be
moved.

Powered by Google App Engine
This is Rietveld 408576698