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

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

Issue 2356913002: Pass device scale factor from display to ws. (Closed)
Patch Set: 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
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..c7abdc5b2550fe355bafacc17ecc33001a6ed598 100644
--- a/services/ui/ws/platform_display_init_params.cc
+++ b/services/ui/ws/platform_display_init_params.cc
@@ -4,17 +4,13 @@
#include "services/ui/ws/platform_display_init_params.h"
-#include "services/ui/display/platform_screen.h"
#include "services/ui/surfaces/surfaces_state.h"
namespace ui {
namespace ws {
-PlatformDisplayInitParams::PlatformDisplayInitParams()
- : display_bounds(gfx::Rect(0, 0, 1024, 768)), display_id(1) {}
+PlatformDisplayInitParams::PlatformDisplayInitParams() {}
-PlatformDisplayInitParams::PlatformDisplayInitParams(
- const PlatformDisplayInitParams& other) = default;
PlatformDisplayInitParams::~PlatformDisplayInitParams() {}
} // namespace ws

Powered by Google App Engine
This is Rietveld 408576698