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

Unified Diff: chrome/browser/automation/ui_controls_linux.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_linux.cc
===================================================================
--- chrome/browser/automation/ui_controls_linux.cc (revision 75286)
+++ chrome/browser/automation/ui_controls_linux.cc (working copy)
@@ -98,7 +98,7 @@
bool SendKeyPress(gfx::NativeWindow window,
ui::KeyboardCode key,
bool control, bool shift, bool alt, bool command) {
- DCHECK(command == false); // No command key on Linux
+ DCHECK_EQ(command, false); // No command key on Linux
GdkWindow* event_window = NULL;
GtkWidget* grab_widget = gtk_grab_get_current();
if (grab_widget) {
@@ -140,7 +140,7 @@
bool control, bool shift,
bool alt, bool command,
Task* task) {
- DCHECK(command == false); // No command key on Linux
+ DCHECK_EQ(command, false); // No command key on Linux
int release_count = 1;
if (control)
release_count++;

Powered by Google App Engine
This is Rietveld 408576698