The detached bookmark bar should not show on interstitials.

BUG=22060
TEST=See bug.

Review URL: http://codereview.chromium.org/306019

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29776 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index 4faf384..c23e8ba 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -992,6 +992,9 @@
 }
 
 bool TabContents::ShouldShowBookmarkBar() {
+  if (showing_interstitial_page())
+    return false;
+
   // See GetDOMUIForCurrentState() comment for more info. This case is very
   // similar, but for non-first loads, we want to use the committed entry. This
   // is so the bookmarks bar disappears at the same time the page does.