Enable wrap_contents quirk for apps targetting pre-L SDK.

We have simplified wrap contents semantics for both pre-L and L+ apps,
this change hooks up toggling between pre-L and post-L semantics.

BUG: 17157608

Change-Id: I2ee3a287aed709f46d033e3d70661f3df7363192
(cherry picked from commit 2283d9e848d4bd4ad815d8a76dc31b30811b7fdd)
diff --git a/chromium/java/com/android/webview/chromium/WebViewChromium.java b/chromium/java/com/android/webview/chromium/WebViewChromium.java
index 54ee0f9..b17f8af 100644
--- a/chromium/java/com/android/webview/chromium/WebViewChromium.java
+++ b/chromium/java/com/android/webview/chromium/WebViewChromium.java
@@ -250,6 +250,7 @@
             mWebSettings.setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW);
             // On KK and older versions we always allowed third party cookies.
             mWebSettings.setAcceptThirdPartyCookies(true);
+            mWebSettings.getAwSettings().setZeroLayoutHeightDisablesViewportQuirk(true);
         }
 
         mRunQueue.addTask(new Runnable() {