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

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

Issue 2032643002: Implement cc::SharedQuadState StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed StructTraits + added unittest 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
Index: components/mus/public/cpp/surfaces/surfaces_utils.h
diff --git a/components/mus/public/cpp/surfaces/surfaces_utils.h b/components/mus/public/cpp/surfaces/surfaces_utils.h
index 31078f36112312cf74ef33765b939f95128a3d2d..3855e7ff4dea9a7e66da061105dfebd6124b23b0 100644
--- a/components/mus/public/cpp/surfaces/surfaces_utils.h
+++ b/components/mus/public/cpp/surfaces/surfaces_utils.h
@@ -8,6 +8,10 @@
#include "components/mus/public/cpp/surfaces/mojo_surfaces_export.h"
#include "components/mus/public/interfaces/quads.mojom.h"
+namespace cc {
+class SharedQuadState;
+}
+
namespace gfx {
class Rect;
class Size;
@@ -15,7 +19,7 @@ class Size;
namespace mojo {
-MOJO_SURFACES_EXPORT mus::mojom::SharedQuadStatePtr CreateDefaultSQS(
+MOJO_SURFACES_EXPORT std::unique_ptr<cc::SharedQuadState> CreateDefaultSQS(
const gfx::Size& size);
// Constructs a pass with the given id, output_rect and damage_rect set to rect,

Powered by Google App Engine
This is Rietveld 408576698