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

Unified Diff: ash/content/display/screen_orientation_controller_chromeos_unittest.cc

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: ash/content/display/screen_orientation_controller_chromeos_unittest.cc
diff --git a/ash/content/display/screen_orientation_controller_chromeos_unittest.cc b/ash/content/display/screen_orientation_controller_chromeos_unittest.cc
index ff0f1c3ec10df561c8ce54e56e9491be700dd599..56531e71c3cecf2016ebfc11d7689e889b2010d6 100644
--- a/ash/content/display/screen_orientation_controller_chromeos_unittest.cc
+++ b/ash/content/display/screen_orientation_controller_chromeos_unittest.cc
@@ -138,8 +138,7 @@ ScreenOrientationControllerTest::ScreenOrientationControllerTest() {
webview_test_helper_.reset(new views::WebViewTestHelper());
}
-ScreenOrientationControllerTest::~ScreenOrientationControllerTest() {
-}
+ScreenOrientationControllerTest::~ScreenOrientationControllerTest() {}
content::WebContents* ScreenOrientationControllerTest::CreateWebContents() {
return views::ViewsDelegate::GetInstance()->CreateWebContents(
@@ -645,14 +644,16 @@ TEST_F(ScreenOrientationControllerTest, RotateInactiveDisplay) {
test::ScopedSetInternalDisplayId set_internal(kInternalDisplayId);
- ASSERT_NE(kNewRotation, display_manager->GetDisplayInfo(kInternalDisplayId)
- .GetActiveRotation());
+ ASSERT_NE(
+ kNewRotation,
+ display_manager->GetDisplayInfo(kInternalDisplayId).GetActiveRotation());
Shell::GetInstance()->screen_orientation_controller()->SetDisplayRotation(
kNewRotation, display::Display::ROTATION_SOURCE_ACTIVE);
- EXPECT_EQ(kNewRotation, display_manager->GetDisplayInfo(kInternalDisplayId)
- .GetActiveRotation());
+ EXPECT_EQ(
+ kNewRotation,
+ display_manager->GetDisplayInfo(kInternalDisplayId).GetActiveRotation());
}
} // namespace ash
« no previous file with comments | « ash/common/wm/dock/docked_window_layout_manager.cc ('k') | ash/content/keyboard_overlay/keyboard_overlay_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698