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

Unified Diff: content/browser/renderer_host/offscreen_canvas_frame_receiver_impl.h

Issue 2328463004: Implement WebGL's commit on the main thread (Closed)
Patch Set: update gpu pixel test expectation Created 4 years, 3 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_frame_receiver_impl.h
diff --git a/content/browser/renderer_host/offscreen_canvas_frame_receiver_impl.h b/content/browser/renderer_host/offscreen_canvas_frame_receiver_impl.h
index c74ded0e54281007a3ffc0160a10f5df62c12209..9752e3b249ad2d7f17aede61303eee09714015c9 100644
--- a/content/browser/renderer_host/offscreen_canvas_frame_receiver_impl.h
+++ b/content/browser/renderer_host/offscreen_canvas_frame_receiver_impl.h
@@ -20,6 +20,8 @@ class OffscreenCanvasFrameReceiverImpl
static void Create(blink::mojom::OffscreenCanvasFrameReceiverRequest request);
+ void SetClient(
+ blink::mojom::OffscreenCanvasFrameReceiverClientPtr client) override;
void SubmitCompositorFrame(const cc::SurfaceId& surface_id,
cc::CompositorFrame frame) override;
@@ -32,6 +34,7 @@ class OffscreenCanvasFrameReceiverImpl
private:
cc::SurfaceId surface_id_;
std::unique_ptr<cc::SurfaceFactory> surface_factory_;
+ blink::mojom::OffscreenCanvasFrameReceiverClientPtr client_;
DISALLOW_COPY_AND_ASSIGN(OffscreenCanvasFrameReceiverImpl);
};

Powered by Google App Engine
This is Rietveld 408576698