Index: chrome/browser/chromeos/input_method/xkeyboard_unittest.cc |
=================================================================== |
--- chrome/browser/chromeos/input_method/xkeyboard_unittest.cc (revision 175088) |
+++ chrome/browser/chromeos/input_method/xkeyboard_unittest.cc (working copy) |
@@ -53,7 +53,7 @@ |
// Returns true if X display is available. |
bool DisplayAvailable() { |
- return ui::GetXDisplay() ? true : false; |
+ return (ui::GetXDisplay() != NULL); |
} |
} // namespace |