summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/Tab.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/browser/Tab.java')
-rw-r--r--src/com/android/browser/Tab.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/com/android/browser/Tab.java b/src/com/android/browser/Tab.java
index 8962475..4097334 100644
--- a/src/com/android/browser/Tab.java
+++ b/src/com/android/browser/Tab.java
@@ -855,11 +855,7 @@ class Tab {
transport.setWebView(mSubView);
} else {
final Tab newTab = mWebViewController.openTab(null,
- Tab.this.isPrivateBrowsingEnabled(),
- true, true);
- if (newTab != Tab.this) {
- Tab.this.addChildTab(newTab);
- }
+ Tab.this, true, true);
transport.setWebView(newTab.getWebView());
}
msg.sendToTarget();