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

Unified Diff: ui/views/view_unittest.cc

Issue 2714053003: Fix GCC build for target 'all' (Closed)
Patch Set: #if defined(__GNUC__) Created 3 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
« no previous file with comments | « ui/views/examples/examples_window.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view_unittest.cc
diff --git a/ui/views/view_unittest.cc b/ui/views/view_unittest.cc
index e1b6710554409fd3a4dce25fd321645b93530eff..4753be7534ecfdafab19aeca838dc10be686456c 100644
--- a/ui/views/view_unittest.cc
+++ b/ui/views/view_unittest.cc
@@ -4833,14 +4833,14 @@ TEST_F(ViewObserverTest, ViewVisibilityChanged) {
std::unique_ptr<View> view = NewView();
view->SetVisible(false);
EXPECT_EQ(view.get(), view_visibility_changed());
- EXPECT_EQ(false, view->visible());
+ EXPECT_FALSE(view->visible());
}
TEST_F(ViewObserverTest, ViewEnabledChanged) {
std::unique_ptr<View> view = NewView();
view->SetEnabled(false);
EXPECT_EQ(view.get(), view_enabled_changed());
- EXPECT_EQ(false, view->enabled());
+ EXPECT_FALSE(view->enabled());
}
TEST_F(ViewObserverTest, ViewBoundsChanged) {
« no previous file with comments | « ui/views/examples/examples_window.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698