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

Unified Diff: cc/surfaces/display.h

Issue 2610723002: Unify SurfaceInfo (Closed)
Patch Set: Cleanup offscreen canvas 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
« no previous file with comments | « cc/ipc/typemaps.gni ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display.h
diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h
index 238f00c5e9ce4c12eed676712f3ccd5cbf171ba2..a93f31794274e261bf3d6cf1e00ca00ed97c996a 100644
--- a/cc/surfaces/display.h
+++ b/cc/surfaces/display.h
@@ -86,9 +86,7 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
// SurfaceObserver implementation.
void OnSurfaceDamaged(const SurfaceId& surface, bool* changed) override;
- void OnSurfaceCreated(const SurfaceId& surface_id,
- const gfx::Size& frame,
- float device_scale_factor) override;
+ void OnSurfaceCreated(const SurfaceInfo& surface_info) override;
bool has_scheduler() const { return !!scheduler_; }
DirectRenderer* renderer_for_testing() const { return renderer_.get(); }
« no previous file with comments | « cc/ipc/typemaps.gni ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698