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

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

Issue 2489003002: Convert mustash use surface references. (Closed)
Patch Set: Fixes for fsamuel. 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
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..c1380535b5fe98453df1a9fa3906eb50d917b4e0 100644
--- a/services/ui/ws/platform_display_default.cc
+++ b/services/ui/ws/platform_display_default.cc
@@ -130,6 +130,10 @@ bool PlatformDisplayDefault::IsPrimaryDisplay() const {
display_id_;
}
+FrameGenerator* PlatformDisplayDefault::GetFrameGenerator() {
+ return frame_generator_.get();
+}
+
void PlatformDisplayDefault::OnGpuChannelEstablished(
scoped_refptr<gpu::GpuChannelHost> channel) {
frame_generator_->OnGpuChannelEstablished(channel);

Powered by Google App Engine
This is Rietveld 408576698