Index: chrome/browser/cocoa/location_bar/location_bar_view_mac.mm |
diff --git a/chrome/browser/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/cocoa/location_bar/location_bar_view_mac.mm |
index fd1acb9bc9934ed5b5ba71c5c151d966dcd4a7b8..28f524b8f938b3d5b2fd028f1e2e29d228642f0f 100644 |
--- a/chrome/browser/cocoa/location_bar/location_bar_view_mac.mm |
+++ b/chrome/browser/cocoa/location_bar/location_bar_view_mac.mm |
@@ -287,6 +287,8 @@ PageActionDecoration* LocationBarViewMac::GetPageActionDecoration( |
if (page_action_decorations_[i]->page_action() == page_action) |
return page_action_decorations_[i]; |
} |
+ // If |page_action| is the browser action of an extension, no element in |
+ // |page_action_decorations_| will match. |
NOTREACHED(); |
return NULL; |
} |