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

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

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
Index: services/ui/ws/window_tree_client_unittest.cc
diff --git a/services/ui/ws/window_tree_client_unittest.cc b/services/ui/ws/window_tree_client_unittest.cc
index 24f66571c3b4fe5d47bb83f33cb9d8be23c1f5f4..b051a4b5173700312f55fea07d370bcf3bf81b79 100644
--- a/services/ui/ws/window_tree_client_unittest.cc
+++ b/services/ui/ws/window_tree_client_unittest.cc
@@ -383,11 +383,8 @@ class TestWindowTreeClient : public mojom::WindowTreeClient,
}
void OnWindowSurfaceChanged(Id window_id,
- const cc::SurfaceId& surface_id,
- const gfx::Size& frame_size,
- float device_scale_factor) override {
- tracker_.OnWindowSurfaceChanged(window_id, surface_id, frame_size,
- device_scale_factor);
+ const cc::SurfaceInfo& surface_info) override {
+ tracker_.OnWindowSurfaceChanged(window_id, surface_info);
}
void OnDragEnter(uint32_t window,
« no previous file with comments | « services/ui/ws/window_tree.cc ('k') | third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698