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

Unified Diff: ui/display/test/display_manager_test_api.cc

Issue 2694623016: chromeos: Makes AshTestBase/Helper target mash when appropriate (Closed)
Patch Set: feedback 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 | « mash/test/mash_test_suite.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/test/display_manager_test_api.cc
diff --git a/ui/display/test/display_manager_test_api.cc b/ui/display/test/display_manager_test_api.cc
index 16e9a1b8ddb5e971beb82a594aad561c0641476d..0a8078b4ebae0e780d0d40710f8036cfd62dc533 100644
--- a/ui/display/test/display_manager_test_api.cc
+++ b/ui/display/test/display_manager_test_api.cc
@@ -58,7 +58,9 @@ scoped_refptr<ManagedDisplayMode> GetDisplayModeForUIScale(
} // namespace
DisplayManagerTestApi::DisplayManagerTestApi(DisplayManager* display_manager)
- : display_manager_(display_manager) {}
+ : display_manager_(display_manager) {
+ DCHECK(display_manager);
+}
DisplayManagerTestApi::~DisplayManagerTestApi() {}
« no previous file with comments | « mash/test/mash_test_suite.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698