diff options
author | michaelbai@chromium.org <michaelbai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-14 20:03:19 +0000 |
---|---|---|
committer | michaelbai@chromium.org <michaelbai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-14 20:03:19 +0000 |
commit | d10c108dc8348430bbbf6a7f91e7b19d22aa671a (patch) | |
tree | f525b3823095f76b4a3d4df66c075dea01991d81 | |
parent | 1ba855dab574231f3c91b81f5eaa6be1967efbd7 (diff) | |
download | chromium_src-d10c108dc8348430bbbf6a7f91e7b19d22aa671a.zip chromium_src-d10c108dc8348430bbbf6a7f91e7b19d22aa671a.tar.gz chromium_src-d10c108dc8348430bbbf6a7f91e7b19d22aa671a.tar.bz2 |
Use getContentViewClient instead of mContentViewClient
It create a new instance if mContentViewClient is null
BUG=319198
NOTRY=true
Review URL: https://codereview.chromium.org/73033002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235221 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java index c175c5b..b10e4ae 100644 --- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java +++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java @@ -3218,12 +3218,12 @@ public class ContentViewCore @CalledByNative private ContentVideoViewClient getContentVideoViewClient() { - return mContentViewClient.getContentVideoViewClient(); + return getContentViewClient().getContentVideoViewClient(); } @CalledByNative private boolean shouldBlockMediaRequest(String url) { - return mContentViewClient.shouldBlockMediaRequest(url); + return getContentViewClient().shouldBlockMediaRequest(url); } private native void nativeOnJavaContentViewCoreDestroyed(int nativeContentViewCoreImpl); |