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 5e21dc0ac4cdd67c9bb745b8f5ecd9d3ec439619..5ac955f721336f1ce50364ada65d9e6e2264e1de 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 |
@@ -252,6 +252,7 @@ public class Shell extends LinearLayout { |
private void initFromNativeTabContents(long nativeTabContents) { |
mContentView = ContentView.newInstance(getContext(), nativeTabContents, mWindow); |
mContentView.setContentViewClient(mContentViewClient); |
+ if (getParent() != null) mContentView.onShow(); |
if (mContentView.getUrl() != null) mUrlTextView.setText(mContentView.getUrl()); |
((FrameLayout) findViewById(R.id.contentview_holder)).addView(mContentView, |
new FrameLayout.LayoutParams( |