summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/wm_overview_controller.cc
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 08:11:42 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 08:11:42 +0000
commit6db79624b138e9a9b98603d0a90cd51c5665436f (patch)
treeb6ebc022fdb62acf1dd2bc87a7a4722e350ccde0 /chrome/browser/chromeos/wm_overview_controller.cc
parentd1a97cd22d62195abed4f22fd1ee47b42b34a64c (diff)
downloadchromium_src-6db79624b138e9a9b98603d0a90cd51c5665436f.zip
chromium_src-6db79624b138e9a9b98603d0a90cd51c5665436f.tar.gz
chromium_src-6db79624b138e9a9b98603d0a90cd51c5665436f.tar.bz2
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
Diffstat (limited to 'chrome/browser/chromeos/wm_overview_controller.cc')
-rw-r--r--chrome/browser/chromeos/wm_overview_controller.cc6
1 files changed, 4 insertions, 2 deletions
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<int> params;
- WmIpcWindowType type = WmIpc::instance()->GetWindowType(
+ WmIpc::instance()->GetWindowType(
GTK_WIDGET(browser_->window()->GetNativeHandle()),
&params);
- 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)