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

Unified Diff: components/mus/public/cpp/surfaces/custom_surface_converter.h

Issue 2042643002: Implement cc::CompositorFrameMetadata StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comment Created 4 years, 6 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: components/mus/public/cpp/surfaces/custom_surface_converter.h
diff --git a/components/mus/public/cpp/surfaces/custom_surface_converter.h b/components/mus/public/cpp/surfaces/custom_surface_converter.h
index b30550f238a38817fc7d7eac14311518796f8cff..8c8820f0974e163aeadd40faa800fe2bf3f14bde 100644
--- a/components/mus/public/cpp/surfaces/custom_surface_converter.h
+++ b/components/mus/public/cpp/surfaces/custom_surface_converter.h
@@ -9,6 +9,7 @@
#include "components/mus/public/interfaces/quads.mojom.h"
namespace cc {
+class CompositorFrameMetadata;
class RenderPass;
class SharedQuadState;
} // namespace cc
@@ -21,7 +22,7 @@ class CustomSurfaceConverter {
public:
virtual bool ConvertSurfaceDrawQuad(
const mus::mojom::QuadPtr& input,
- const mus::mojom::CompositorFrameMetadataPtr& metadata,
+ const cc::CompositorFrameMetadata& metadata,
cc::SharedQuadState* sqs,
cc::RenderPass* render_pass) = 0;
« no previous file with comments | « components/bitmap_uploader/bitmap_uploader.cc ('k') | components/mus/public/cpp/surfaces/surfaces_type_converters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698