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

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

Issue 2489003002: Convert mustash use surface references. (Closed)
Patch Set: 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.cc
diff --git a/services/ui/ws/platform_display.cc b/services/ui/ws/platform_display.cc
index 3073cba44cf834ccaf216713039dcbcf8eec5775..6c539129e6ce24ab0103a6a7d7e32a6ca7c836c6 100644
--- a/services/ui/ws/platform_display.cc
+++ b/services/ui/ws/platform_display.cc
@@ -156,6 +156,10 @@ void DefaultPlatformDisplay::OnGpuChannelEstablished(
frame_generator_->OnGpuChannelEstablished(channel);
}
+FrameGenerator* DefaultPlatformDisplay::GetFrameGenerator() {
+ return frame_generator_.get();
+}
+
bool DefaultPlatformDisplay::UpdateViewportMetrics(
const display::ViewportMetrics& metrics) {
if (metrics_ == metrics)

Powered by Google App Engine
This is Rietveld 408576698