| Index: chrome/test/chromedriver/test/webview_shell/java/src/org/chromium/chromedriver_webview_shell/Main.java
|
| diff --git a/chrome/test/chromedriver/test/webview_shell/java/src/org/chromium/chromedriver_webview_shell/Main.java b/chrome/test/chromedriver/test/webview_shell/java/src/org/chromium/chromedriver_webview_shell/Main.java
|
| index f1283da8b5294c24a5b23e00bf856d0e234adec7..19ff6eb8eea2f9c3c7364bd807275dbc30d003e9 100644
|
| --- a/chrome/test/chromedriver/test/webview_shell/java/src/org/chromium/chromedriver_webview_shell/Main.java
|
| +++ b/chrome/test/chromedriver/test/webview_shell/java/src/org/chromium/chromedriver_webview_shell/Main.java
|
| @@ -35,14 +35,14 @@ public class Main extends Activity {
|
| public void onProgressChanged(WebView view, int progress) {
|
| activity.setProgress(progress * 100);
|
| }
|
| - });
|
| + });
|
| mWebView.setWebViewClient(new WebViewClient() {
|
| @Override
|
| public void onReceivedError(WebView view, int errorCode, String description,
|
| - String failingUrl) {
|
| + String failingUrl) {
|
| Toast.makeText(activity, "Error: " + description, Toast.LENGTH_SHORT).show();
|
| - }
|
| - });
|
| + }
|
| + });
|
|
|
| loadUrl(getIntent());
|
| }
|
|
|