Index: chrome/browser/tab_contents/tab_contents.cc |
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc |
index c8e212f734b5a2a17b7558e680960cc192f6f5ca..a7fc71db1e9552f58f43bac473ff1275d7c94371 100644 |
--- a/chrome/browser/tab_contents/tab_contents.cc |
+++ b/chrome/browser/tab_contents/tab_contents.cc |
@@ -815,6 +815,11 @@ void TabContents::Activate() { |
delegate_->ActivateContents(this); |
} |
+void TabContents::Deactivate() { |
+ if (delegate_) |
+ delegate_->DeactivateContents(this); |
+} |
+ |
void TabContents::ShowContents() { |
RenderWidgetHostView* rwhv = GetRenderWidgetHostView(); |
if (rwhv) |