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

Unified Diff: cc/ipc/shared_quad_state.typemap

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: cc/ipc/shared_quad_state.typemap
diff --git a/cc/ipc/shared_quad_state.typemap b/cc/ipc/shared_quad_state.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..9f4ba4cb0e9a0897f2596983178ce15f587e8e77
--- /dev/null
+++ b/cc/ipc/shared_quad_state.typemap
@@ -0,0 +1,10 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+mojom = "//cc/ipc/shared_quad_state.mojom"
+public_headers = [ "//cc/quads/shared_quad_state.h" ]
+traits_headers = [ "//cc/ipc/shared_quad_state_struct_traits.h" ]
+deps = [ "//cc", ]
+public_deps = [ "//cc", ]
+type_mappings = [ "cc.mojom.SharedQuadState=std::unique_ptr<cc::SharedQuadState>" ]
danakj 2016/06/01 20:54:11 why the unique_ptr?
Fady Samuel 2016/06/01 21:02:49 cc::SharedQuadState is missing a copy constructor.
danakj 2016/06/01 21:04:20 vector moves things when it resizes if there is a

Powered by Google App Engine
This is Rietveld 408576698