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

Unified Diff: chrome/browser/automation/ui_controls_win.cc

Issue 6539002: Begun the DCHECK() cleanup. Starting off with /src/chrome/a* and /src/chrome/... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 10 months 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/automation/ui_controls_win.cc
===================================================================
--- chrome/browser/automation/ui_controls_win.cc (revision 75286)
+++ chrome/browser/automation/ui_controls_win.cc (working copy)
@@ -327,7 +327,7 @@
bool SendKeyPress(gfx::NativeWindow window, ui::KeyboardCode key,
bool control, bool shift, bool alt, bool command) {
- DCHECK(command == false); // No command key on Windows
+ DCHECK_EQ(command, false); // No command key on Windows
return SendKeyPressImpl(key, control, shift, alt, NULL);
}
@@ -336,7 +336,7 @@
bool control, bool shift, bool alt,
bool command,
Task* task) {
- DCHECK(command == false); // No command key on Windows
+ DCHECK_EQ(command, false); // No command key on Windows
return SendKeyPressImpl(key, control, shift, alt, task);
}

Powered by Google App Engine
This is Rietveld 408576698