| Index: chrome/browser/instant/instant_loader.cc
|
| diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc
|
| index 0ab07310c455ec19495a814777dd6963dfec463c..eb33c3c38cf7cd8c4f25fea4d83fb9ad209f7397 100644
|
| --- a/chrome/browser/instant/instant_loader.cc
|
| +++ b/chrome/browser/instant/instant_loader.cc
|
| @@ -130,8 +130,6 @@ class InstantLoader::FrameLoadObserver : public NotificationObserver {
|
| execute_js_id_(0) {
|
| registrar_.Add(this, NotificationType::LOAD_COMPLETED_MAIN_FRAME,
|
| Source<TabContents>(tab_contents_));
|
| - registrar_.Add(this, NotificationType::TAB_CONTENTS_DESTROYED,
|
| - Source<TabContents>(tab_contents_));
|
| }
|
|
|
| // Sets the text to send to the page.
|
| @@ -173,10 +171,6 @@ class InstantLoader::FrameLoadObserver : public NotificationObserver {
|
| return;
|
| }
|
|
|
| - case NotificationType::TAB_CONTENTS_DESTROYED:
|
| - delete this;
|
| - return;
|
| -
|
| default:
|
| NOTREACHED();
|
| break;
|
|
|