Index: chrome/android/java/src/org/chromium/chrome/browser/Tab.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/Tab.java b/chrome/android/java/src/org/chromium/chrome/browser/Tab.java |
index 7f1cec0e351314f0a401d8d689a8ac846bae6dc0..f759426a11af568cfec60cac1fdeabcde75c0e15 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/Tab.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/Tab.java |
@@ -1197,6 +1197,13 @@ |
} |
/** |
+ * Called on the foreground tab when the Activity is stopped. |
+ */ |
+ public void onActivityStop() { |
+ hide(); |
+ } |
+ |
+ /** |
* Prepares the tab to be shown. This method is supposed to be called before the tab is |
* displayed. It restores the ContentView if it is not available after the cold start and |
* reloads the tab if its renderer has crashed. |