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

Unified Diff: services/ui/surfaces/display_compositor.h

Issue 2610723002: Unify SurfaceInfo (Closed)
Patch Set: More cleanup Created 3 years, 12 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: services/ui/surfaces/display_compositor.h
diff --git a/services/ui/surfaces/display_compositor.h b/services/ui/surfaces/display_compositor.h
index b57040018ecf464ef9407129ee314ad6accb2e45..fca74d8a19cde7f871ecb6ad92a848e36ded099f 100644
--- a/services/ui/surfaces/display_compositor.h
+++ b/services/ui/surfaces/display_compositor.h
@@ -120,9 +120,7 @@ class DisplayCompositor : public cc::SurfaceObserver,
const cc::SurfaceId& GetRootSurfaceId() const;
// cc::SurfaceObserver implementation.
- void OnSurfaceCreated(const cc::SurfaceId& surface_id,
- const gfx::Size& frame_size,
- float device_scale_factor) override;
+ void OnSurfaceCreated(const cc::SurfaceInfo& surface_info) override;
void OnSurfaceDamaged(const cc::SurfaceId& surface_id,
bool* changed) override;

Powered by Google App Engine
This is Rietveld 408576698