summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/ui/views/toolbar_view.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/ui/views/toolbar_view.cc b/chrome/browser/ui/views/toolbar_view.cc
index 5b746bb..3f2c204 100644
--- a/chrome/browser/ui/views/toolbar_view.cc
+++ b/chrome/browser/ui/views/toolbar_view.cc
@@ -670,12 +670,6 @@ bool ToolbarView::ShouldShowIncompatibilityWarning() {
}
int ToolbarView::PopupTopSpacing() const {
- CHECK(parent());
- CHECK(GetRootView());
- CHECK(GetWidget());
- Window* window = GetWindow();
- CHECK(window);
- CHECK(window->non_client_view());
return GetWindow()->non_client_view()->UseNativeFrame() ?
0 : kPopupTopSpacingNonGlass;
}