Index: chrome/browser/android/bottombar/overlay_panel_content.cc |
diff --git a/chrome/browser/android/bottombar/overlay_panel_content.cc b/chrome/browser/android/bottombar/overlay_panel_content.cc |
index 10f41df28fe9f8cf259cce54b8e5eb86b8e11dda..0f46cef33632e76069c1d347a698340811bd23a7 100644 |
--- a/chrome/browser/android/bottombar/overlay_panel_content.cc |
+++ b/chrome/browser/android/bottombar/overlay_panel_content.cc |
@@ -100,6 +100,8 @@ void OverlayPanelContent::SetWebContents( |
// TODO(pedrosimonetti): Confirm with dtrainor@ if the comment above |
// is accurate. |
web_contents_.reset(web_contents); |
+ |
+ web_contents_->SetIsOverlayContent(true); |
// TODO(pedrosimonetti): confirm if we need this after promoting it |
// to a real tab. |
TabAndroid::AttachTabHelpers(web_contents_.get()); |