summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-14 19:17:44 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-14 19:17:44 +0000
commite17adb5300aeaf14b2a13333c4bc32487248fea5 (patch)
tree627fdd05c1b563fe96ff56a0769641abade31552 /chrome
parentc410da80a6f24f4f81d489cf67ca79ef18ad72ae (diff)
downloadchromium_src-e17adb5300aeaf14b2a13333c4bc32487248fea5.zip
chromium_src-e17adb5300aeaf14b2a13333c4bc32487248fea5.tar.gz
chromium_src-e17adb5300aeaf14b2a13333c4bc32487248fea5.tar.bz2
Revert 78065 - Add some checks to ToolbarView to see what's NULL.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6683045 TBR=ben@chromium.org Review URL: http://codereview.chromium.org/6685058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78068 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-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;
}