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

Unified Diff: ash/system/chromeos/power/tablet_power_button_controller_unittest.cc

Issue 2741273002: chromeos: Promotes more from WmShell to Shell (Closed)
Patch Set: cleanup Created 3 years, 9 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/system/chromeos/power/tablet_power_button_controller_unittest.cc
diff --git a/ash/system/chromeos/power/tablet_power_button_controller_unittest.cc b/ash/system/chromeos/power/tablet_power_button_controller_unittest.cc
index 8a2df301343d4768b12ed7e479d5dbeee0cf6829..983399856ff3f62f34c7c83e382ac8307dc3690d 100644
--- a/ash/system/chromeos/power/tablet_power_button_controller_unittest.cc
+++ b/ash/system/chromeos/power/tablet_power_button_controller_unittest.cc
@@ -66,8 +66,7 @@ class TabletPowerButtonControllerTest : public AshTestBase {
tick_clock_ = new base::SimpleTestTickClock;
tablet_controller_->SetTickClockForTesting(
std::unique_ptr<base::TickClock>(tick_clock_));
- shell_delegate_ =
- static_cast<TestShellDelegate*>(WmShell::Get()->delegate());
+ shell_delegate_ = static_cast<TestShellDelegate*>(Shell::Get()->delegate());
generator_ = &AshTestBase::GetEventGenerator();
power_manager_client_->SendBrightnessChanged(kNonZeroBrightness, false);
EXPECT_FALSE(GetBacklightsForcedOff());

Powered by Google App Engine
This is Rietveld 408576698