summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/tab_contents.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.cc')
-rw-r--r--chrome/browser/tab_contents/tab_contents.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index b866589..1c7e08f 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -37,12 +37,10 @@ BOOL CALLBACK InvalidateWindow(HWND hwnd, LPARAM lparam) {
} // namespace
#endif
-TabContents::TabContents(TabContentsType type)
- : type_(type),
- delegate_(NULL),
+TabContents::TabContents()
+ : delegate_(NULL),
controller_(NULL),
is_loading_(false),
- is_active_(true),
is_crashed_(false),
waiting_for_response_(false),
shelf_visible_(false),
@@ -498,10 +496,6 @@ void TabContents::SetIsLoading(bool is_loading,
is_loading_ = is_loading;
waiting_for_response_ = is_loading;
- // Suppress notifications for this TabContents if we are not active.
- if (!is_active_)
- return;
-
if (delegate_)
delegate_->LoadingStateChanged(this);