Commit 6d2eabc1 authored by peter@chromium.org's avatar peter@chromium.org

Revert "Support viewport in content_shell."

This patch changes layout tests on Android to be ran using a 980x735
canvas instead of an 800x600 one, basically breaking everything. The
"WebKit Android (Nexus4)" tester is currently red because of this.

> Support viewport in content_shell.
>
> Viewport preferences are overridden even with the --enable-viewport
> flag passed in.
>
> BUG=343993
>

BUG=343993, 345221
NOTRY=true
TBR=zeeshankq@chromium.org, aelias, jochen

Review URL: https://codereview.chromium.org/171603015

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252234 0039d316-1c4b-4281-b951-d872f2087c98
parent e2eb2f22
...@@ -108,6 +108,7 @@ void ApplyLayoutTestDefaultPreferences(WebPreferences* prefs) { ...@@ -108,6 +108,7 @@ void ApplyLayoutTestDefaultPreferences(WebPreferences* prefs) {
#if defined(OS_ANDROID) #if defined(OS_ANDROID)
prefs->text_autosizing_enabled = false; prefs->text_autosizing_enabled = false;
#endif #endif
prefs->viewport_enabled = false;
} }
base::FilePath GetWebKitRootDirFilePath() { base::FilePath GetWebKitRootDirFilePath() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment