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
|