Commit 8e4aa5f8 authored by ntfschr's avatar ntfschr Committed by Commit bot

modify getWebViewClient behavior

getWebViewClient returns the default client instead of null when the client is
not yet set.

BUG=627248

Implement getWebViewClient and getWebChromeClient

Implement getWebViewClient and getWebChromeClient for new APIs in Android

Review-Url: https://codereview.chromium.org/2384063003
Cr-Commit-Position: refs/heads/master@{#422547}
parent 82ccb5f1
......@@ -172,8 +172,7 @@ public class WebViewContentsClientAdapter extends AwContentsClient {
}
WebViewClient getWebViewClient() {
// If this hasn't been set yet, return null instead of exposing sNullWebViewClient
return mWebViewClient == sNullWebViewClient ? null : mWebViewClient;
return mWebViewClient;
}
void setWebChromeClient(WebChromeClient client) {
......
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