| Index: content/shell/android/java/src/org/chromium/content_shell/ContentShellActivity.java
|
| diff --git a/content/shell/android/java/src/org/chromium/content_shell/ContentShellActivity.java b/content/shell/android/java/src/org/chromium/content_shell/ContentShellActivity.java
|
| index 2a6a0c5a60f2217bc7b41855602754dcce0595f7..22456afc51be94128039c1249a9852ed70884b86 100644
|
| --- a/content/shell/android/java/src/org/chromium/content_shell/ContentShellActivity.java
|
| +++ b/content/shell/android/java/src/org/chromium/content_shell/ContentShellActivity.java
|
| @@ -12,6 +12,7 @@ import android.util.Log;
|
| import android.view.KeyEvent;
|
|
|
| import org.chromium.content.app.LibraryLoader;
|
| +import org.chromium.content.browser.ActivityContentVideoViewDelegate;
|
| import org.chromium.content.browser.ContentVideoView;
|
| import org.chromium.content.browser.ContentView;
|
| import org.chromium.content.browser.DeviceUtils;
|
| @@ -56,7 +57,8 @@ public class ContentShellActivity extends Activity {
|
| mActivityNativeWindow = new ActivityNativeWindow(this);
|
| mActivityNativeWindow.restoreInstanceState(savedInstanceState);
|
| mShellManager.setWindow(mActivityNativeWindow);
|
| - ContentVideoView.registerChromeActivity(this);
|
| + ContentVideoView.registerContentVideoViewContextDelegate(
|
| + new ActivityContentVideoViewDelegate(this));
|
|
|
| String startupUrl = getUrlFromIntent(getIntent());
|
| if (!TextUtils.isEmpty(startupUrl)) {
|
|
|