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

Unified Diff: content/browser/renderer_host/offscreen_canvas_surface_impl.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: content/browser/renderer_host/offscreen_canvas_surface_impl.h
diff --git a/content/browser/renderer_host/offscreen_canvas_surface_impl.h b/content/browser/renderer_host/offscreen_canvas_surface_impl.h
index 10ab17f268d2c6a71786bd6332921f3033502bad..8cf437d273d1bf2f49e5a3e08f7616d6dea29d0a 100644
--- a/content/browser/renderer_host/offscreen_canvas_surface_impl.h
+++ b/content/browser/renderer_host/offscreen_canvas_surface_impl.h
@@ -26,9 +26,7 @@ class CONTENT_EXPORT OffscreenCanvasSurfaceImpl
blink::mojom::OffscreenCanvasSurfaceClientPtr client,
blink::mojom::OffscreenCanvasSurfaceRequest request);
- void OnSurfaceCreated(const cc::SurfaceId& surface_id,
- const gfx::Size& frame_size,
- float device_scale_factor);
+ void OnSurfaceCreated(const cc::SurfaceInfo& surface_info);
// blink::mojom::OffscreenCanvasSurface implementation.
void Require(const cc::SurfaceId& surface_id,

Powered by Google App Engine
This is Rietveld 408576698