Revert "Chromium WebView warn long URLs"

BUG: 10742235

As discussed in bug, we no longer want to enforce a limit since long term
plan will not have a limit.

This reverts commit 4176c4ec32e59d659f63f8f7425329755ff44668.

Change-Id: I82ef6dd2883acc46701e64f4e52fd9852586e532
diff --git a/chromium/java/com/android/webview/chromium/WebViewChromium.java b/chromium/java/com/android/webview/chromium/WebViewChromium.java
index 56b8eb3..061eb27 100644
--- a/chromium/java/com/android/webview/chromium/WebViewChromium.java
+++ b/chromium/java/com/android/webview/chromium/WebViewChromium.java
@@ -514,17 +514,6 @@
 
     private void loadUrlOnUiThread(final LoadUrlParams loadUrlParams) {
         if (ThreadUtils.runningOnUiThread()) {
-            final int MAX_ALLOWED_URL_LENGTH = 2 * 1024 * 1024;
-            if (loadUrlParams.getUrl().length() > MAX_ALLOWED_URL_LENGTH) {
-                final String msg = "Load data/url length (" + loadUrlParams.getUrl().length() +
-                        ") too long. Use WebViewClient#shouldInterceptRequest instead.";
-                if (mAppTargetSdkVersion >= Build.VERSION_CODES.KITKAT) {
-                    throw new IllegalArgumentException(msg);
-                } else {
-                    Log.w(TAG, msg);
-                }
-            }
-
             mAwContents.loadUrl(loadUrlParams);
         } else {
             // Disallowed in WebView API for apps targetting a new SDK