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

Unified Diff: services/ui/ws/platform_display.cc

Issue 2512593003: Cleanup display creation in mus tests. (Closed)
Patch Set: Make const. Created 4 years, 1 month 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 | « services/ui/ws/platform_display.h ('k') | services/ui/ws/platform_display_default.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/platform_display.cc
diff --git a/services/ui/ws/platform_display.cc b/services/ui/ws/platform_display.cc
index 9df1adf31f4b04c35b7f088120fb24d9fefc90dd..e008e955ab0de8216baf27548deaf5dacb481dc8 100644
--- a/services/ui/ws/platform_display.cc
+++ b/services/ui/ws/platform_display.cc
@@ -19,7 +19,7 @@ PlatformDisplayFactory* PlatformDisplay::factory_ = nullptr;
std::unique_ptr<PlatformDisplay> PlatformDisplay::Create(
const PlatformDisplayInitParams& init_params) {
if (factory_)
- return factory_->CreatePlatformDisplay();
+ return factory_->CreatePlatformDisplay(init_params);
return base::MakeUnique<PlatformDisplayDefault>(init_params);
}
« no previous file with comments | « services/ui/ws/platform_display.h ('k') | services/ui/ws/platform_display_default.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698