Index: chrome/browser/ui/search/instant_overlay_model.cc |
diff --git a/chrome/browser/ui/search/instant_overlay_model.cc b/chrome/browser/ui/search/instant_overlay_model.cc |
index 09a668b570d71fedacb74dbe0e4d4a7a46d4bfe2..bc6213b77ce5392492ef413a90671d6a28ffc920 100644 |
--- a/chrome/browser/ui/search/instant_overlay_model.cc |
+++ b/chrome/browser/ui/search/instant_overlay_model.cc |
@@ -50,9 +50,6 @@ void InstantOverlayModel::SetOverlayContents( |
} |
content::WebContents* InstantOverlayModel::GetOverlayContents() const { |
- // |controller_| maybe NULL durning tests. |
- if (controller_) |
- return controller_->GetOverlayContents(); |
return overlay_contents_; |
} |