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

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

Issue 2356913002: Pass device scale factor from display to ws. (Closed)
Patch Set: Fix more tests. Created 4 years, 3 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 | « services/ui/ws/platform_display_init_params.h ('k') | services/ui/ws/test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/platform_display_init_params.cc
diff --git a/services/ui/ws/platform_display_init_params.cc b/services/ui/ws/platform_display_init_params.cc
index 7fbb50e72d7c26fab9cffec8eab1998981c4e215..afefb68e2f33593efcac62f8b9ce3b906eda2758 100644
--- a/services/ui/ws/platform_display_init_params.cc
+++ b/services/ui/ws/platform_display_init_params.cc
@@ -4,17 +4,15 @@
#include "services/ui/ws/platform_display_init_params.h"
-#include "services/ui/display/platform_screen.h"
#include "services/ui/surfaces/surfaces_state.h"
+#include "ui/display/display.h"
namespace ui {
namespace ws {
PlatformDisplayInitParams::PlatformDisplayInitParams()
- : display_bounds(gfx::Rect(0, 0, 1024, 768)), display_id(1) {}
+ : display_id(display::Display::kInvalidDisplayID) {}
-PlatformDisplayInitParams::PlatformDisplayInitParams(
- const PlatformDisplayInitParams& other) = default;
PlatformDisplayInitParams::~PlatformDisplayInitParams() {}
} // namespace ws
« no previous file with comments | « services/ui/ws/platform_display_init_params.h ('k') | services/ui/ws/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698