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

Unified Diff: ui/aura/window_unittest.cc

Issue 10824064: Use EXPECT_FALSE instead of EXPECT_EQ to avoid compiler error (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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
« no previous file with comments | « no previous file | ui/base/ime/input_method_ibus_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_unittest.cc
diff --git a/ui/aura/window_unittest.cc b/ui/aura/window_unittest.cc
index b84157a0b3c59ccdd5dec94fd5c75fc70c421b9e..de0bd370514fe58bab7bd8feddbe6268936d8d6a 100644
--- a/ui/aura/window_unittest.cc
+++ b/ui/aura/window_unittest.cc
@@ -1768,8 +1768,8 @@ TEST_F(WindowTest, RecreateLayer) {
scoped_ptr<ui::Layer> old_layer(w.RecreateLayer());
layer = w.layer();
EXPECT_EQ(ui::LAYER_SOLID_COLOR, layer->type());
- EXPECT_EQ(false, layer->scale_content());
- EXPECT_EQ(false, layer->visible());
+ EXPECT_FALSE(layer->scale_content());
+ EXPECT_FALSE(layer->visible());
EXPECT_EQ(1u, layer->children().size());
}
« no previous file with comments | « no previous file | ui/base/ime/input_method_ibus_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698