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

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

Issue 819623003: Add more checks to ShowPageActionPopup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
Index: chrome/browser/ui/views/location_bar/location_bar_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
index c3eff2c908100644ca2ed3ed230781f0d179494c..cbcc62cc1efd522b705c0360f85ecd36c8aa2d99 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -549,6 +549,10 @@ class LocationBarView : public LocationBar,
int current_omnibox_width_;
int ending_omnibox_width_;
+ // This is a debug state variable that stores if the WebContents was non-null
+ // during the last RefreshPageAction.
+ bool web_contents_not_null_at_last_refresh_;
+
DISALLOW_COPY_AND_ASSIGN(LocationBarView);
};

Powered by Google App Engine
This is Rietveld 408576698