From 6db79624b138e9a9b98603d0a90cd51c5665436f Mon Sep 17 00:00:00 2001 From: "oshima@chromium.org" Date: Wed, 5 May 2010 08:11:42 +0000 Subject: temprarily commented out the dcheck that is causing try bot failures. This is trybot only issue because build bot builds release binary. TBR=derat@chromium.org BUG=http://crosbug.com/3064 TEST=trybot should pass for changes that should pass. Review URL: http://codereview.chromium.org/1919003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46445 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/chromeos/wm_overview_controller.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chrome/browser/chromeos/wm_overview_controller.cc') diff --git a/chrome/browser/chromeos/wm_overview_controller.cc b/chrome/browser/chromeos/wm_overview_controller.cc index 3722ef4..929be62 100644 --- a/chrome/browser/chromeos/wm_overview_controller.cc +++ b/chrome/browser/chromeos/wm_overview_controller.cc @@ -204,10 +204,12 @@ void BrowserListener::UpdateSelectedIndex(int index) { // different from what we know before we set them, to avoid extra // notifications. std::vector params; - WmIpcWindowType type = WmIpc::instance()->GetWindowType( + WmIpc::instance()->GetWindowType( GTK_WIDGET(browser_->window()->GetNativeHandle()), ¶ms); - DCHECK(type == WM_IPC_WINDOW_CHROME_TOPLEVEL); + // TODO(derat|oshima): This was causing try bot failures as they do not have + // chromeoswm. http://crosbug.com/3064 + // DCHECK(type == WM_IPC_WINDOW_CHROME_TOPLEVEL); if (params.size() > 1) { if (params[0] == browser_->tab_count() && params[0] == index) -- cgit v1.1