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

Unified Diff: components/mus/ws/platform_display.h

Issue 2098953003: Make cc::CompositorFrames movable [Part 2 of 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased and addressed Dana's comments Created 4 years, 6 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: components/mus/ws/platform_display.h
diff --git a/components/mus/ws/platform_display.h b/components/mus/ws/platform_display.h
index 9b19220f23469c7adea1c198ef0fc0ade5fa6b9f..e16a46c193687d300d7628f30966eec5f9d4edc3 100644
--- a/components/mus/ws/platform_display.h
+++ b/components/mus/ws/platform_display.h
@@ -150,7 +150,7 @@ class DefaultPlatformDisplay : public PlatformDisplay,
// if there is budget for it.
void DidDraw(cc::SurfaceDrawStatus status);
void UpdateMetrics(const gfx::Size& size, float device_scale_factor);
- std::unique_ptr<cc::CompositorFrame> GenerateCompositorFrame();
+ cc::CompositorFrame GenerateCompositorFrame();
// ui::PlatformWindowDelegate:
void OnBoundsChanged(const gfx::Rect& new_bounds) override;

Powered by Google App Engine
This is Rietveld 408576698