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

Unified Diff: components/mus/ws/server_window_surface.cc

Issue 2019833002: Implement StructTraits for various cc and gpu types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mailbox_name by ref to make windows happy Created 4 years, 7 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 | « components/mus/public/interfaces/gpu/display_compositor.mojom ('k') | gpu/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/server_window_surface.cc
diff --git a/components/mus/ws/server_window_surface.cc b/components/mus/ws/server_window_surface.cc
index 49ac7e398b38279f436c1194d1843d11e4695139..1ecaab963df20f8d29227e44fe997771798f6c94 100644
--- a/components/mus/ws/server_window_surface.cc
+++ b/components/mus/ws/server_window_surface.cc
@@ -153,8 +153,7 @@ void ServerWindowSurface::ReturnResources(
const cc::ReturnedResourceArray& resources) {
if (!client_ || !base::MessageLoop::current())
return;
- client_->ReturnResources(
- mojo::Array<mojom::ReturnedResourcePtr>::From(resources));
+ client_->ReturnResources(mojo::Array<cc::ReturnedResource>::From(resources));
}
void ServerWindowSurface::SetBeginFrameSource(
« no previous file with comments | « components/mus/public/interfaces/gpu/display_compositor.mojom ('k') | gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698