Index: chrome/browser/instant/instant_controller.cc |
=================================================================== |
--- chrome/browser/instant/instant_controller.cc (revision 130285) |
+++ chrome/browser/instant/instant_controller.cc (working copy) |
@@ -504,8 +504,8 @@ |
// Returns true if |template_url| is a valid TemplateURL for use by instant. |
bool InstantController::IsValidInstantTemplateURL( |
const TemplateURL* template_url) { |
- return template_url && template_url->instant_url() && template_url->id() && |
- template_url->instant_url()->SupportsReplacement() && |
+ return template_url && template_url->id() && |
+ template_url->instant_url_ref().SupportsReplacement() && |
!IsBlacklistedFromInstant(template_url->id()); |
} |