Bug 1251936 - followup - make nsTArray<mozilla::gfx::FilterPrimitiveDescription> use copies on a CLOSED TREE; r=bustage
authorNathan Froyd <froydnj@mozilla.com>
Fri, 23 Dec 2016 10:37:15 -0500
changeset 453598 2fc498f1d5bc10ccc76a337c66b32dc5c8a67304
parent 453597 c8e7f46d574ea9c1cd8bbcdc4b3f58f982043fdb
child 453599 fcb169203786b15fa48381aa2e868727480a33fb
push id39711
push userdmitchell@mozilla.com
push dateFri, 23 Dec 2016 21:59:47 +0000
reviewersbustage
bugs1251936
milestone53.0a1
Bug 1251936 - followup - make nsTArray<mozilla::gfx::FilterPrimitiveDescription> use copies on a CLOSED TREE; r=bustage
xpcom/glue/nsTArray.h
--- a/xpcom/glue/nsTArray.h
+++ b/xpcom/glue/nsTArray.h
@@ -46,16 +46,22 @@ struct TileClient;
 } // namespace mozilla
 
 namespace mozilla {
 struct SerializedStructuredCloneBuffer;
 class SourceBufferTask;
 } // namespace mozilla
 
 namespace mozilla {
+namespace gfx {
+class FilterPrimitiveDescription;
+} // namespace gfx
+} // namespace mozilla
+
+namespace mozilla {
 namespace dom {
 namespace ipc {
 class StructuredCloneData;
 } // namespace ipc
 } // namespace dom
 } // namespace mozilla
 
 namespace mozilla {
@@ -852,16 +858,17 @@ DECLARE_USE_COPY_CONSTRUCTORS(mozilla::S
 DECLARE_USE_COPY_CONSTRUCTORS(mozilla::dom::ipc::StructuredCloneData)
 DECLARE_USE_COPY_CONSTRUCTORS(mozilla::dom::ClonedMessageData)
 DECLARE_USE_COPY_CONSTRUCTORS(mozilla::dom::indexedDB::StructuredCloneReadInfo);
 DECLARE_USE_COPY_CONSTRUCTORS(mozilla::dom::indexedDB::ObjectStoreCursorResponse)
 DECLARE_USE_COPY_CONSTRUCTORS(mozilla::dom::indexedDB::SerializedStructuredCloneReadInfo);
 DECLARE_USE_COPY_CONSTRUCTORS(JSStructuredCloneData)
 DECLARE_USE_COPY_CONSTRUCTORS(mozilla::dom::MessagePortMessage)
 DECLARE_USE_COPY_CONSTRUCTORS(mozilla::SourceBufferTask)
+DECLARE_USE_COPY_CONSTRUCTORS(mozilla::gfx::FilterPrimitiveDescription)
 
 template<typename T>
 struct nsTArray_CopyChooser<std::function<T>>
 {
   typedef nsTArray_CopyWithConstructors<std::function<T>> Type;
 };