| Index: content/shell/android/java/src/org/chromium/content_shell/Shell.java
|
| diff --git a/content/shell/android/java/src/org/chromium/content_shell/Shell.java b/content/shell/android/java/src/org/chromium/content_shell/Shell.java
|
| index f97b323d9945c226e156e5b53e3e4f04bc29b339..d2632e4686a5ceca30bc09e3b659f45b51f3b099 100644
|
| --- a/content/shell/android/java/src/org/chromium/content_shell/Shell.java
|
| +++ b/content/shell/android/java/src/org/chromium/content_shell/Shell.java
|
| @@ -21,6 +21,7 @@ import android.widget.TextView.OnEditorActionListener;
|
|
|
| import org.chromium.base.CalledByNative;
|
| import org.chromium.base.JNINamespace;
|
| +import org.chromium.content.browser.CompositorProvider;
|
| import org.chromium.content.browser.ContentView;
|
| import org.chromium.content.browser.ContentViewRenderView;
|
| import org.chromium.content.browser.LoadUrlParams;
|
| @@ -216,7 +217,9 @@ public class Shell extends LinearLayout {
|
| @SuppressWarnings("unused")
|
| @CalledByNative
|
| private void initFromNativeTabContents(int nativeTabContents) {
|
| - mContentView = ContentView.newInstance(getContext(), nativeTabContents, mWindow);
|
| + CompositorProvider compositorProvider = mContentViewRenderView;
|
| + mContentView = ContentView.newInstance(getContext(), nativeTabContents, mWindow,
|
| + compositorProvider);
|
| if (mContentView.getUrl() != null) mUrlTextView.setText(mContentView.getUrl());
|
| ((FrameLayout) findViewById(R.id.contentview_holder)).addView(mContentView,
|
| new FrameLayout.LayoutParams(
|
|
|