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

Unified Diff: ui/gfx/ozone/surface_factory_ozone.cc

Issue 131373007: ozone: Use gfx::Display size for touch scaling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test crash Created 6 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 | « ui/gfx/ozone/surface_factory_ozone.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/ozone/surface_factory_ozone.cc
diff --git a/ui/gfx/ozone/surface_factory_ozone.cc b/ui/gfx/ozone/surface_factory_ozone.cc
index 97e28bf241f0c309d7ba1c8f774fb1089c489f31..082ab4c9b4c753206fc28873c5452fe9ad7f28f1 100644
--- a/ui/gfx/ozone/surface_factory_ozone.cc
+++ b/ui/gfx/ozone/surface_factory_ozone.cc
@@ -29,13 +29,6 @@ void SurfaceFactoryOzone::SetInstance(SurfaceFactoryOzone* impl) {
impl_ = impl;
}
-const char* SurfaceFactoryOzone::DefaultDisplaySpec() {
- char* envvar = getenv("ASH_DISPLAY_SPEC");
- if (envvar)
- return envvar;
- return "720x1280*2";
-}
-
gfx::Screen* SurfaceFactoryOzone::CreateDesktopScreen() {
return NULL;
}
« no previous file with comments | « ui/gfx/ozone/surface_factory_ozone.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698