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

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

Issue 2064833002: Implement DrawQuad StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix move constructor 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/surfaces_type_converters.h
diff --git a/components/mus/public/cpp/surfaces/surfaces_type_converters.h b/components/mus/public/cpp/surfaces/surfaces_type_converters.h
index 91a151b1e7ac6ec739b17716d9536301f0597ae2..e84ff5e7026ad51bb56b25a7057e80de41d740ca 100644
--- a/components/mus/public/cpp/surfaces/surfaces_type_converters.h
+++ b/components/mus/public/cpp/surfaces/surfaces_type_converters.h
@@ -17,7 +17,6 @@
#include "gpu/command_buffer/common/mailbox.h"
#include "gpu/command_buffer/common/mailbox_holder.h"
#include "gpu/command_buffer/common/sync_token.h"
-#include "third_party/skia/include/core/SkColor.h"
namespace cc {
class CompositorFrame;
@@ -31,15 +30,6 @@ namespace mojo {
// Types from quads.mojom
template <>
-struct MOJO_SURFACES_EXPORT TypeConverter<cc::mojom::ColorPtr, SkColor> {
- static cc::mojom::ColorPtr Convert(const SkColor& input);
-};
-template <>
-struct MOJO_SURFACES_EXPORT TypeConverter<SkColor, cc::mojom::ColorPtr> {
- static SkColor Convert(const cc::mojom::ColorPtr& input);
-};
-
-template <>
struct MOJO_SURFACES_EXPORT
TypeConverter<cc::mojom::DrawQuadPtr, cc::DrawQuad> {
static cc::mojom::DrawQuadPtr Convert(const cc::DrawQuad& input);
« no previous file with comments | « components/bitmap_uploader/bitmap_uploader.cc ('k') | components/mus/public/cpp/surfaces/surfaces_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698