summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/PieControlPhone.java
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-07-12 16:42:08 -0700
committerJohn Reck <jreck@google.com>2011-07-13 10:26:27 -0700
commitef654f1dd80f55609060005342fc4f2cde62990c (patch)
tree99bac9d568efd8972a703e26b2a35c6fb047d882 /src/com/android/browser/PieControlPhone.java
parent9ef259af433edc5aeb11b5d5d94dc9acc697c61e (diff)
downloadpackages_apps_browser-ef654f1dd80f55609060005342fc4f2cde62990c.zip
packages_apps_browser-ef654f1dd80f55609060005342fc4f2cde62990c.tar.gz
packages_apps_browser-ef654f1dd80f55609060005342fc4f2cde62990c.tar.bz2
Snapshot title bar
Bug: 4982126 Change-Id: I67931d39e3a3ce535b38197ebeee1651241d1a60
Diffstat (limited to 'src/com/android/browser/PieControlPhone.java')
-rw-r--r--src/com/android/browser/PieControlPhone.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/browser/PieControlPhone.java b/src/com/android/browser/PieControlPhone.java
index 2b8d5d9..c4b28fa 100644
--- a/src/com/android/browser/PieControlPhone.java
+++ b/src/com/android/browser/PieControlPhone.java
@@ -82,9 +82,8 @@ public class PieControlPhone extends PieControlBase implements OnClickListener {
@Override
public void onClick(View v) {
Tab tab = mUiController.getTabControl().getCurrentTab();
- WebView web = tab.getWebView();
if (mBack.getView() == v) {
- web.goBack();
+ tab.goBack();
} else if (mUrl.getView() == v) {
mUi.editUrl(false);
} else if (mShowTabs.getView() == v) {