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

Unified Diff: services/ui/ws/platform_display_default.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_default.h ('k') | services/ui/ws/platform_display_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/platform_display_default.cc
diff --git a/services/ui/ws/platform_display_default.cc b/services/ui/ws/platform_display_default.cc
index 9492e85cb8fdd0d5da5d16a0032c53b18d6fbefd..c807ae8a71b52e9d2d53f1bf9987148c0fde1b0c 100644
--- a/services/ui/ws/platform_display_default.cc
+++ b/services/ui/ws/platform_display_default.cc
@@ -125,11 +125,6 @@ gfx::Rect PlatformDisplayDefault::GetBounds() const {
return metrics_.bounds;
}
-bool PlatformDisplayDefault::IsPrimaryDisplay() const {
- return display::PlatformScreen::GetInstance()->GetPrimaryDisplayId() ==
- display_id_;
-}
-
void PlatformDisplayDefault::OnGpuChannelEstablished(
scoped_refptr<gpu::GpuChannelHost> channel) {
frame_generator_->OnGpuChannelEstablished(channel);
« no previous file with comments | « services/ui/ws/platform_display_default.h ('k') | services/ui/ws/platform_display_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698