diff options
Diffstat (limited to 'src/com/android/browser/TabControl.java')
-rw-r--r-- | src/com/android/browser/TabControl.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/com/android/browser/TabControl.java b/src/com/android/browser/TabControl.java index 150ece0..8cb500d 100644 --- a/src/com/android/browser/TabControl.java +++ b/src/com/android/browser/TabControl.java @@ -216,12 +216,6 @@ class TabControl { return createNewTab(false); } - SnapshotTab createSnapshotTab(long snapshotId) { - SnapshotTab t = new SnapshotTab(mController, snapshotId); - mTabs.add(t); - return t; - } - /** * Remove the parent child relationships from all tabs. */ @@ -670,7 +664,7 @@ class TabControl { // Display the new current tab mCurrentTab = mTabs.indexOf(newTab); WebView mainView = newTab.getWebView(); - boolean needRestore = !newTab.isSnapshot() && (mainView == null); + boolean needRestore = mainView == null; if (needRestore) { // Same work as in createNewTab() except don't do new Tab() mainView = createNewWebView(); |