Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1595)

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.cc

Issue 8418010: LocationBarView: Add a CHECK to help debug a crash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
index 993e9ac03cac78159bded1d7478b6386cff38ea9..e0c2d6b7425c211d09804357c7fba5c639953d2e 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -471,6 +471,9 @@ void LocationBarView::Layout() {
if (!location_entry_.get())
return;
+ // TODO(jhawkins): Remove once crbug.com/101994 is fixed.
+ CHECK(location_icon_view_);
+
// TODO(sky): baseline layout.
int location_y = kVerticalEdgeThickness;
// In some cases (e.g. fullscreen mode) we may have 0 height. We still want
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698