summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/TabBar.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/browser/TabBar.java')
-rw-r--r--src/com/android/browser/TabBar.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/browser/TabBar.java b/src/com/android/browser/TabBar.java
index 9d5867540..26b72f7dd 100644
--- a/src/com/android/browser/TabBar.java
+++ b/src/com/android/browser/TabBar.java
@@ -342,6 +342,10 @@ public class TabBar extends LinearLayout
TabViewData(Tab tab) {
mTab = tab;
+ WebView web = tab.getWebView();
+ if (web != null) {
+ setUrlAndTitle(web.getUrl(), web.getTitle());
+ }
}
void setUrlAndTitle(String url, String title) {