/src/mozilla-central/mfbt/UniquePtr.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
2 | | /* vim: set ts=8 sts=2 et sw=2 tw=80: */ |
3 | | /* This Source Code Form is subject to the terms of the Mozilla Public |
4 | | * License, v. 2.0. If a copy of the MPL was not distributed with this |
5 | | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
6 | | |
7 | | /* Smart pointer managing sole ownership of a resource. */ |
8 | | |
9 | | #ifndef mozilla_UniquePtr_h |
10 | | #define mozilla_UniquePtr_h |
11 | | |
12 | | #include "mozilla/Assertions.h" |
13 | | #include "mozilla/Attributes.h" |
14 | | #include "mozilla/Compiler.h" |
15 | | #include "mozilla/Move.h" |
16 | | #include "mozilla/Pair.h" |
17 | | #include "mozilla/TypeTraits.h" |
18 | | |
19 | | namespace mozilla { |
20 | | |
21 | | template<typename T> class DefaultDelete; |
22 | | template<typename T, class D = DefaultDelete<T>> class UniquePtr; |
23 | | |
24 | | } // namespace mozilla |
25 | | |
26 | | namespace mozilla { |
27 | | |
28 | | namespace detail { |
29 | | |
30 | | struct HasPointerTypeHelper |
31 | | { |
32 | | template <class U> static double Test(...); |
33 | | template <class U> static char Test(typename U::pointer* = 0); |
34 | | }; |
35 | | |
36 | | template <class T> |
37 | | class HasPointerType : public IntegralConstant<bool, sizeof(HasPointerTypeHelper::Test<T>(0)) == 1> |
38 | | { |
39 | | }; |
40 | | |
41 | | template <class T, class D, bool = HasPointerType<D>::value> |
42 | | struct PointerTypeImpl |
43 | | { |
44 | | typedef typename D::pointer Type; |
45 | | }; |
46 | | |
47 | | template <class T, class D> |
48 | | struct PointerTypeImpl<T, D, false> |
49 | | { |
50 | | typedef T* Type; |
51 | | }; |
52 | | |
53 | | template <class T, class D> |
54 | | struct PointerType |
55 | | { |
56 | | typedef typename PointerTypeImpl<T, typename RemoveReference<D>::Type>::Type Type; |
57 | | }; |
58 | | |
59 | | } // namespace detail |
60 | | |
61 | | /** |
62 | | * UniquePtr is a smart pointer that wholly owns a resource. Ownership may be |
63 | | * transferred out of a UniquePtr through explicit action, but otherwise the |
64 | | * resource is destroyed when the UniquePtr is destroyed. |
65 | | * |
66 | | * UniquePtr is similar to C++98's std::auto_ptr, but it improves upon auto_ptr |
67 | | * in one crucial way: it's impossible to copy a UniquePtr. Copying an auto_ptr |
68 | | * obviously *can't* copy ownership of its singly-owned resource. So what |
69 | | * happens if you try to copy one? Bizarrely, ownership is implicitly |
70 | | * *transferred*, preserving single ownership but breaking code that assumes a |
71 | | * copy of an object is identical to the original. (This is why auto_ptr is |
72 | | * prohibited in STL containers.) |
73 | | * |
74 | | * UniquePtr solves this problem by being *movable* rather than copyable. |
75 | | * Instead of passing a |UniquePtr u| directly to the constructor or assignment |
76 | | * operator, you pass |Move(u)|. In doing so you indicate that you're *moving* |
77 | | * ownership out of |u|, into the target of the construction/assignment. After |
78 | | * the transfer completes, |u| contains |nullptr| and may be safely destroyed. |
79 | | * This preserves single ownership but also allows UniquePtr to be moved by |
80 | | * algorithms that have been made move-safe. (Note: if |u| is instead a |
81 | | * temporary expression, don't use |Move()|: just pass the expression, because |
82 | | * it's already move-ready. For more information see Move.h.) |
83 | | * |
84 | | * UniquePtr is also better than std::auto_ptr in that the deletion operation is |
85 | | * customizable. An optional second template parameter specifies a class that |
86 | | * (through its operator()(T*)) implements the desired deletion policy. If no |
87 | | * policy is specified, mozilla::DefaultDelete<T> is used -- which will either |
88 | | * |delete| or |delete[]| the resource, depending whether the resource is an |
89 | | * array. Custom deletion policies ideally should be empty classes (no member |
90 | | * fields, no member fields in base classes, no virtual methods/inheritance), |
91 | | * because then UniquePtr can be just as efficient as a raw pointer. |
92 | | * |
93 | | * Use of UniquePtr proceeds like so: |
94 | | * |
95 | | * UniquePtr<int> g1; // initializes to nullptr |
96 | | * g1.reset(new int); // switch resources using reset() |
97 | | * g1 = nullptr; // clears g1, deletes the int |
98 | | * |
99 | | * UniquePtr<int> g2(new int); // owns that int |
100 | | * int* p = g2.release(); // g2 leaks its int -- still requires deletion |
101 | | * delete p; // now freed |
102 | | * |
103 | | * struct S { int x; S(int x) : x(x) {} }; |
104 | | * UniquePtr<S> g3, g4(new S(5)); |
105 | | * g3 = std::move(g4); // g3 owns the S, g4 cleared |
106 | | * S* p = g3.get(); // g3 still owns |p| |
107 | | * assert(g3->x == 5); // operator-> works (if .get() != nullptr) |
108 | | * assert((*g3).x == 5); // also operator* (again, if not cleared) |
109 | | * Swap(g3, g4); // g4 now owns the S, g3 cleared |
110 | | * g3.swap(g4); // g3 now owns the S, g4 cleared |
111 | | * UniquePtr<S> g5(std::move(g3)); // g5 owns the S, g3 cleared |
112 | | * g5.reset(); // deletes the S, g5 cleared |
113 | | * |
114 | | * struct FreePolicy { void operator()(void* p) { free(p); } }; |
115 | | * UniquePtr<int, FreePolicy> g6(static_cast<int*>(malloc(sizeof(int)))); |
116 | | * int* ptr = g6.get(); |
117 | | * g6 = nullptr; // calls free(ptr) |
118 | | * |
119 | | * Now, carefully note a few things you *can't* do: |
120 | | * |
121 | | * UniquePtr<int> b1; |
122 | | * b1 = new int; // BAD: can only assign another UniquePtr |
123 | | * int* ptr = b1; // BAD: no auto-conversion to pointer, use get() |
124 | | * |
125 | | * UniquePtr<int> b2(b1); // BAD: can't copy a UniquePtr |
126 | | * UniquePtr<int> b3 = b1; // BAD: can't copy-assign a UniquePtr |
127 | | * |
128 | | * (Note that changing a UniquePtr to store a direct |new| expression is |
129 | | * permitted, but usually you should use MakeUnique, defined at the end of this |
130 | | * header.) |
131 | | * |
132 | | * A few miscellaneous notes: |
133 | | * |
134 | | * UniquePtr, when not instantiated for an array type, can be move-constructed |
135 | | * and move-assigned, not only from itself but from "derived" UniquePtr<U, E> |
136 | | * instantiations where U converts to T and E converts to D. If you want to use |
137 | | * this, you're going to have to specify a deletion policy for both UniquePtr |
138 | | * instantations, and T pretty much has to have a virtual destructor. In other |
139 | | * words, this doesn't work: |
140 | | * |
141 | | * struct Base { virtual ~Base() {} }; |
142 | | * struct Derived : Base {}; |
143 | | * |
144 | | * UniquePtr<Base> b1; |
145 | | * // BAD: DefaultDelete<Base> and DefaultDelete<Derived> don't interconvert |
146 | | * UniquePtr<Derived> d1(std::move(b)); |
147 | | * |
148 | | * UniquePtr<Base> b2; |
149 | | * UniquePtr<Derived, DefaultDelete<Base>> d2(std::move(b2)); // okay |
150 | | * |
151 | | * UniquePtr is specialized for array types. Specializing with an array type |
152 | | * creates a smart-pointer version of that array -- not a pointer to such an |
153 | | * array. |
154 | | * |
155 | | * UniquePtr<int[]> arr(new int[5]); |
156 | | * arr[0] = 4; |
157 | | * |
158 | | * What else is different? Deletion of course uses |delete[]|. An operator[] |
159 | | * is provided. Functionality that doesn't make sense for arrays is removed. |
160 | | * The constructors and mutating methods only accept array pointers (not T*, U* |
161 | | * that converts to T*, or UniquePtr<U[]> or UniquePtr<U>) or |nullptr|. |
162 | | * |
163 | | * It's perfectly okay for a function to return a UniquePtr. This transfers |
164 | | * the UniquePtr's sole ownership of the data, to the fresh UniquePtr created |
165 | | * in the calling function, that will then solely own that data. Such functions |
166 | | * can return a local variable UniquePtr, |nullptr|, |UniquePtr(ptr)| where |
167 | | * |ptr| is a |T*|, or a UniquePtr |Move()|'d from elsewhere. |
168 | | * |
169 | | * UniquePtr will commonly be a member of a class, with lifetime equivalent to |
170 | | * that of that class. If you want to expose the related resource, you could |
171 | | * expose a raw pointer via |get()|, but ownership of a raw pointer is |
172 | | * inherently unclear. So it's better to expose a |const UniquePtr&| instead. |
173 | | * This prohibits mutation but still allows use of |get()| when needed (but |
174 | | * operator-> is preferred). Of course, you can only use this smart pointer as |
175 | | * long as the enclosing class instance remains live -- no different than if you |
176 | | * exposed the |get()| raw pointer. |
177 | | * |
178 | | * To pass a UniquePtr-managed resource as a pointer, use a |const UniquePtr&| |
179 | | * argument. To specify an inout parameter (where the method may or may not |
180 | | * take ownership of the resource, or reset it), or to specify an out parameter |
181 | | * (where simply returning a |UniquePtr| isn't possible), use a |UniquePtr&| |
182 | | * argument. To unconditionally transfer ownership of a UniquePtr |
183 | | * into a method, use a |UniquePtr| argument. To conditionally transfer |
184 | | * ownership of a resource into a method, should the method want it, use a |
185 | | * |UniquePtr&&| argument. |
186 | | */ |
187 | | template<typename T, class D> |
188 | | class UniquePtr |
189 | | { |
190 | | public: |
191 | | typedef T ElementType; |
192 | | typedef D DeleterType; |
193 | | typedef typename detail::PointerType<T, DeleterType>::Type Pointer; |
194 | | |
195 | | private: |
196 | | Pair<Pointer, DeleterType> mTuple; |
197 | | |
198 | 0 | Pointer& ptr() { return mTuple.first(); } Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_GLXDrawable, mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLXDrawable> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_GLXDrawable, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_GLXDrawable> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface, mozilla::DefaultDelete<mozilla::gl::SharedSurface> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLReadTexImageHelper, mozilla::DefaultDelete<mozilla::gl::GLReadTexImageHelper> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLScreenBuffer, mozilla::DefaultDelete<mozilla::gl::GLScreenBuffer> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLBlitHelper, mozilla::DefaultDelete<mozilla::gl::GLBlitHelper> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_Basic, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_Basic> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::DrawBuffer, mozilla::DefaultDelete<mozilla::gl::DrawBuffer> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_Basic, mozilla::DefaultDelete<mozilla::gl::SharedSurface_Basic> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_GLTexture, mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLTexture> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_EGLImage, mozilla::DefaultDelete<mozilla::gl::SharedSurface_EGLImage> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_EGLImage, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_EGLImage> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ContentMonitor, mozilla::DefaultDelete<mozilla::layers::ContentMonitor> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::DrawSession, mozilla::DefaultDelete<mozilla::layers::DrawSession> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerScopeWebSocketManager, mozilla::DefaultDelete<mozilla::layers::LayerScopeWebSocketManager> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::DebugGLData, mozilla::DefaultDelete<mozilla::layers::DebugGLData> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::Packet, mozilla::DefaultDelete<mozilla::layers::layerscope::Packet> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::CommandPacket, mozilla::DefaultDelete<mozilla::layers::layerscope::CommandPacket> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintTask, mozilla::DefaultDelete<mozilla::layers::PaintTask> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerPropertiesBase, mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ContainerLayerProperties, mozilla::DefaultDelete<mozilla::layers::ContainerLayerProperties> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ColorLayerProperties, mozilla::DefaultDelete<mozilla::layers::ColorLayerProperties> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ImageLayerProperties, mozilla::DefaultDelete<mozilla::layers::ImageLayerProperties> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CanvasLayerProperties, mozilla::DefaultDelete<mozilla::layers::CanvasLayerProperties> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerUserData, mozilla::DefaultDelete<mozilla::layers::LayerUserData> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CanvasRenderer, mozilla::DefaultDelete<mozilla::layers::CanvasRenderer> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintThread, mozilla::DefaultDelete<mozilla::layers::PaintThread> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<ScreenshotPayload, mozilla::DefaultDelete<ScreenshotPayload> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerProperties, mozilla::DefaultDelete<mozilla::layers::LayerProperties> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::GLBlitTextureImageHelper, mozilla::DefaultDelete<mozilla::layers::GLBlitTextureImageHelper> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<nsDisplayItemGeometry, mozilla::DefaultDelete<nsDisplayItemGeometry> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ActiveResourceTracker, mozilla::DefaultDelete<mozilla::layers::ActiveResourceTracker> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ScheduleObserveLayersUpdate, mozilla::DefaultDelete<mozilla::layers::ScheduleObserveLayersUpdate> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::NotificationHandler, mozilla::DefaultDelete<mozilla::wr::NotificationHandler> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::WebRenderCanvasRendererAsync, mozilla::DefaultDelete<mozilla::layers::WebRenderCanvasRendererAsync> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::CrossProcessSemaphore, mozilla::DefaultDelete<mozilla::CrossProcessSemaphore> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TileExpiry, mozilla::DefaultDelete<mozilla::layers::TileExpiry> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CompositorScreenshotGrabberImpl, mozilla::DefaultDelete<mozilla::layers::CompositorScreenshotGrabberImpl> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ProfilerScreenshots, mozilla::DefaultDelete<mozilla::layers::ProfilerScreenshots> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PreparedData, mozilla::DefaultDelete<mozilla::layers::PreparedData> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<LayerTranslationMarkerPayload, mozilla::DefaultDelete<LayerTranslationMarkerPayload> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TextRenderer::FontCache, mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::Diagnostics, mozilla::DefaultDelete<mozilla::layers::Diagnostics> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::ipc::Shmem, mozilla::DefaultDelete<mozilla::ipc::Shmem> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<VsyncMarkerPayload, mozilla::DefaultDelete<VsyncMarkerPayload> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererOGL, mozilla::DefaultDelete<mozilla::wr::RendererOGL> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositor, mozilla::DefaultDelete<mozilla::wr::RenderCompositor> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositorOGL, mozilla::DefaultDelete<mozilla::wr::RenderCompositorOGL> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::WebRenderProgramCache, mozilla::DefaultDelete<mozilla::wr::WebRenderProgramCache> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::NewRenderer, mozilla::DefaultDelete<mozilla::wr::NewRenderer> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RemoveRenderer, mozilla::DefaultDelete<mozilla::wr::RemoveRenderer> >::ptr() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback> >::ptr() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Pause()::PauseEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Pause()::PauseEvent> >::ptr() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent> >::ptr() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::FrameStartTime, mozilla::DefaultDelete<mozilla::wr::FrameStartTime> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLFramebuffer::ResolvedData const, mozilla::DefaultDelete<mozilla::WebGLFramebuffer::ResolvedData const> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForShadow, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForShadow> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForFilter, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForFilter> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::ImageUtils, mozilla::DefaultDelete<mozilla::dom::ImageUtils> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::imagebitmapformat::Utils, mozilla::dom::imagebitmapformat::DoNotDelete>::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::FormatUsageAuthority, mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLContext::LocalErrorScope, mozilla::DefaultDelete<mozilla::gl::GLContext::LocalErrorScope> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const, mozilla::DefaultDelete<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBlob, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBlob> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::ShaderValidator, mozilla::DefaultDelete<mozilla::webgl::ShaderValidator> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBytes, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBytes> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackSurface, mozilla::DefaultDelete<mozilla::webgl::TexUnpackSurface> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackImage, mozilla::DefaultDelete<mozilla::webgl::TexUnpackImage> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >, mozilla::DefaultDelete<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > > >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::plugins::LaunchCompleteTask, mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::widget::WindowSurface, mozilla::DefaultDelete<mozilla::widget::WindowSurface> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::CurrentX11TimeGetter, mozilla::DefaultDelete<mozilla::CurrentX11TimeGetter> >::ptr() Unexecuted instantiation: mozilla::UniquePtr<TestContainerLayer, mozilla::DefaultDelete<TestContainerLayer> >::ptr() |
199 | 0 | const Pointer& ptr() const { return mTuple.first(); } Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CanvasRenderer, mozilla::DefaultDelete<mozilla::layers::CanvasRenderer> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLScreenBuffer, mozilla::DefaultDelete<mozilla::gl::GLScreenBuffer> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::DrawBuffer, mozilla::DefaultDelete<mozilla::gl::DrawBuffer> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface, mozilla::DefaultDelete<mozilla::gl::SharedSurface> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLBlitHelper, mozilla::DefaultDelete<mozilla::gl::GLBlitHelper> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLReadTexImageHelper, mozilla::DefaultDelete<mozilla::gl::GLReadTexImageHelper> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ActiveResourceTracker, mozilla::DefaultDelete<mozilla::layers::ActiveResourceTracker> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_Basic, mozilla::DefaultDelete<mozilla::gl::SharedSurface_Basic> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerScopeWebSocketManager, mozilla::DefaultDelete<mozilla::layers::LayerScopeWebSocketManager> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::Packet, mozilla::DefaultDelete<mozilla::layers::layerscope::Packet> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::DrawSession, mozilla::DefaultDelete<mozilla::layers::DrawSession> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ContentMonitor, mozilla::DefaultDelete<mozilla::layers::ContentMonitor> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::CommandPacket, mozilla::DefaultDelete<mozilla::layers::layerscope::CommandPacket> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerPropertiesBase, mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintThread, mozilla::DefaultDelete<mozilla::layers::PaintThread> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintTask, mozilla::DefaultDelete<mozilla::layers::PaintTask> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::SharedVertexBuffer, mozilla::DefaultDelete<mozilla::layers::SharedVertexBuffer> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::SharedConstantBuffer, mozilla::DefaultDelete<mozilla::layers::SharedConstantBuffer> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::BufferCache, mozilla::DefaultDelete<mozilla::layers::BufferCache> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::GLBlitTextureImageHelper, mozilla::DefaultDelete<mozilla::layers::GLBlitTextureImageHelper> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<nsDisplayItemGeometry, mozilla::DefaultDelete<nsDisplayItemGeometry> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerProperties, mozilla::DefaultDelete<mozilla::layers::LayerProperties> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::WebRenderCanvasRendererAsync, mozilla::DefaultDelete<mozilla::layers::WebRenderCanvasRendererAsync> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::CrossProcessSemaphore, mozilla::DefaultDelete<mozilla::CrossProcessSemaphore> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TileExpiry, mozilla::DefaultDelete<mozilla::layers::TileExpiry> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CompositorScreenshotGrabberImpl, mozilla::DefaultDelete<mozilla::layers::CompositorScreenshotGrabberImpl> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ProfilerScreenshots, mozilla::DefaultDelete<mozilla::layers::ProfilerScreenshots> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PreparedData, mozilla::DefaultDelete<mozilla::layers::PreparedData> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::Diagnostics, mozilla::DefaultDelete<mozilla::layers::Diagnostics> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TextRenderer::FontCache, mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::ipc::Shmem, mozilla::DefaultDelete<mozilla::ipc::Shmem> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererOGL, mozilla::DefaultDelete<mozilla::wr::RendererOGL> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::WebRenderProgramCache, mozilla::DefaultDelete<mozilla::wr::WebRenderProgramCache> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositor, mozilla::DefaultDelete<mozilla::wr::RenderCompositor> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLFramebuffer::ResolvedData const, mozilla::DefaultDelete<mozilla::WebGLFramebuffer::ResolvedData const> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForShadow, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForShadow> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForFilter, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForFilter> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::ImageUtils, mozilla::DefaultDelete<mozilla::dom::ImageUtils> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::imagebitmapformat::Utils, mozilla::dom::imagebitmapformat::DoNotDelete>::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::FormatUsageAuthority, mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLContext::LocalErrorScope, mozilla::DefaultDelete<mozilla::gl::GLContext::LocalErrorScope> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const, mozilla::DefaultDelete<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::ShaderValidator, mozilla::DefaultDelete<mozilla::webgl::ShaderValidator> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBlob, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBlob> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBytes, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBytes> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >, mozilla::DefaultDelete<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > > >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::plugins::LaunchCompleteTask, mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::CurrentX11TimeGetter, mozilla::DefaultDelete<mozilla::CurrentX11TimeGetter> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<TestContainerLayer, mozilla::DefaultDelete<TestContainerLayer> >::ptr() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerUserData, mozilla::DefaultDelete<mozilla::layers::LayerUserData> >::ptr() const |
200 | | |
201 | 0 | DeleterType& del() { return mTuple.second(); } Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_GLXDrawable, mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLXDrawable> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_GLXDrawable, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_GLXDrawable> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface, mozilla::DefaultDelete<mozilla::gl::SharedSurface> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLReadTexImageHelper, mozilla::DefaultDelete<mozilla::gl::GLReadTexImageHelper> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLScreenBuffer, mozilla::DefaultDelete<mozilla::gl::GLScreenBuffer> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLBlitHelper, mozilla::DefaultDelete<mozilla::gl::GLBlitHelper> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_Basic, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_Basic> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::DrawBuffer, mozilla::DefaultDelete<mozilla::gl::DrawBuffer> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_Basic, mozilla::DefaultDelete<mozilla::gl::SharedSurface_Basic> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_GLTexture, mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLTexture> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_EGLImage, mozilla::DefaultDelete<mozilla::gl::SharedSurface_EGLImage> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_EGLImage, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_EGLImage> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ContentMonitor, mozilla::DefaultDelete<mozilla::layers::ContentMonitor> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::DrawSession, mozilla::DefaultDelete<mozilla::layers::DrawSession> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerScopeWebSocketManager, mozilla::DefaultDelete<mozilla::layers::LayerScopeWebSocketManager> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::DebugGLData, mozilla::DefaultDelete<mozilla::layers::DebugGLData> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::Packet, mozilla::DefaultDelete<mozilla::layers::layerscope::Packet> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::CommandPacket, mozilla::DefaultDelete<mozilla::layers::layerscope::CommandPacket> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintTask, mozilla::DefaultDelete<mozilla::layers::PaintTask> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerPropertiesBase, mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ContainerLayerProperties, mozilla::DefaultDelete<mozilla::layers::ContainerLayerProperties> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ColorLayerProperties, mozilla::DefaultDelete<mozilla::layers::ColorLayerProperties> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ImageLayerProperties, mozilla::DefaultDelete<mozilla::layers::ImageLayerProperties> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CanvasLayerProperties, mozilla::DefaultDelete<mozilla::layers::CanvasLayerProperties> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerUserData, mozilla::DefaultDelete<mozilla::layers::LayerUserData> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CanvasRenderer, mozilla::DefaultDelete<mozilla::layers::CanvasRenderer> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintThread, mozilla::DefaultDelete<mozilla::layers::PaintThread> >::del() Unexecuted instantiation: mozilla::UniquePtr<ScreenshotPayload, mozilla::DefaultDelete<ScreenshotPayload> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerProperties, mozilla::DefaultDelete<mozilla::layers::LayerProperties> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::GLBlitTextureImageHelper, mozilla::DefaultDelete<mozilla::layers::GLBlitTextureImageHelper> >::del() Unexecuted instantiation: mozilla::UniquePtr<nsDisplayItemGeometry, mozilla::DefaultDelete<nsDisplayItemGeometry> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ActiveResourceTracker, mozilla::DefaultDelete<mozilla::layers::ActiveResourceTracker> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ScheduleObserveLayersUpdate, mozilla::DefaultDelete<mozilla::layers::ScheduleObserveLayersUpdate> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::NotificationHandler, mozilla::DefaultDelete<mozilla::wr::NotificationHandler> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::WebRenderCanvasRendererAsync, mozilla::DefaultDelete<mozilla::layers::WebRenderCanvasRendererAsync> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::CrossProcessSemaphore, mozilla::DefaultDelete<mozilla::CrossProcessSemaphore> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TileExpiry, mozilla::DefaultDelete<mozilla::layers::TileExpiry> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CompositorScreenshotGrabberImpl, mozilla::DefaultDelete<mozilla::layers::CompositorScreenshotGrabberImpl> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ProfilerScreenshots, mozilla::DefaultDelete<mozilla::layers::ProfilerScreenshots> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PreparedData, mozilla::DefaultDelete<mozilla::layers::PreparedData> >::del() Unexecuted instantiation: mozilla::UniquePtr<LayerTranslationMarkerPayload, mozilla::DefaultDelete<LayerTranslationMarkerPayload> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TextRenderer::FontCache, mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::Diagnostics, mozilla::DefaultDelete<mozilla::layers::Diagnostics> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::ipc::Shmem, mozilla::DefaultDelete<mozilla::ipc::Shmem> >::del() Unexecuted instantiation: mozilla::UniquePtr<VsyncMarkerPayload, mozilla::DefaultDelete<VsyncMarkerPayload> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererOGL, mozilla::DefaultDelete<mozilla::wr::RendererOGL> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositor, mozilla::DefaultDelete<mozilla::wr::RenderCompositor> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositorOGL, mozilla::DefaultDelete<mozilla::wr::RenderCompositorOGL> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::WebRenderProgramCache, mozilla::DefaultDelete<mozilla::wr::WebRenderProgramCache> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::NewRenderer, mozilla::DefaultDelete<mozilla::wr::NewRenderer> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RemoveRenderer, mozilla::DefaultDelete<mozilla::wr::RemoveRenderer> >::del() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback> >::del() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Pause()::PauseEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Pause()::PauseEvent> >::del() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent> >::del() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::FrameStartTime, mozilla::DefaultDelete<mozilla::wr::FrameStartTime> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLFramebuffer::ResolvedData const, mozilla::DefaultDelete<mozilla::WebGLFramebuffer::ResolvedData const> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForShadow, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForShadow> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForFilter, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForFilter> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::ImageUtils, mozilla::DefaultDelete<mozilla::dom::ImageUtils> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::imagebitmapformat::Utils, mozilla::dom::imagebitmapformat::DoNotDelete>::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::FormatUsageAuthority, mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLContext::LocalErrorScope, mozilla::DefaultDelete<mozilla::gl::GLContext::LocalErrorScope> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const, mozilla::DefaultDelete<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBlob, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBlob> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::ShaderValidator, mozilla::DefaultDelete<mozilla::webgl::ShaderValidator> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBytes, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBytes> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackSurface, mozilla::DefaultDelete<mozilla::webgl::TexUnpackSurface> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackImage, mozilla::DefaultDelete<mozilla::webgl::TexUnpackImage> >::del() Unexecuted instantiation: mozilla::UniquePtr<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >, mozilla::DefaultDelete<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > > >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::plugins::LaunchCompleteTask, mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::widget::WindowSurface, mozilla::DefaultDelete<mozilla::widget::WindowSurface> >::del() Unexecuted instantiation: mozilla::UniquePtr<mozilla::CurrentX11TimeGetter, mozilla::DefaultDelete<mozilla::CurrentX11TimeGetter> >::del() Unexecuted instantiation: mozilla::UniquePtr<TestContainerLayer, mozilla::DefaultDelete<TestContainerLayer> >::del() |
202 | | const DeleterType& del() const { return mTuple.second(); } |
203 | | |
204 | | public: |
205 | | /** |
206 | | * Construct a UniquePtr containing |nullptr|. |
207 | | */ |
208 | | constexpr UniquePtr() |
209 | | : mTuple(static_cast<Pointer>(nullptr), DeleterType()) |
210 | 15 | { |
211 | 15 | static_assert(!IsPointer<D>::value, "must provide a deleter instance"); |
212 | 15 | static_assert(!IsReference<D>::value, "must provide a deleter instance"); |
213 | 15 | } Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_GLXDrawable, mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLXDrawable> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLBlitHelper, mozilla::DefaultDelete<mozilla::gl::GLBlitHelper> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLReadTexImageHelper, mozilla::DefaultDelete<mozilla::gl::GLReadTexImageHelper> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLScreenBuffer, mozilla::DefaultDelete<mozilla::gl::GLScreenBuffer> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::DrawBuffer, mozilla::DefaultDelete<mozilla::gl::DrawBuffer> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_Basic, mozilla::DefaultDelete<mozilla::gl::SharedSurface_Basic> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_EGLImage, mozilla::DefaultDelete<mozilla::gl::SharedSurface_EGLImage> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_EGLImage, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_EGLImage> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_GLTexture, mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLTexture> >::UniquePtr() mozilla::UniquePtr<mozilla::layers::LayerScopeWebSocketManager, mozilla::DefaultDelete<mozilla::layers::LayerScopeWebSocketManager> >::UniquePtr() Line | Count | Source | 210 | 3 | { | 211 | 3 | static_assert(!IsPointer<D>::value, "must provide a deleter instance"); | 212 | 3 | static_assert(!IsReference<D>::value, "must provide a deleter instance"); | 213 | 3 | } |
mozilla::UniquePtr<mozilla::layers::DrawSession, mozilla::DefaultDelete<mozilla::layers::DrawSession> >::UniquePtr() Line | Count | Source | 210 | 3 | { | 211 | 3 | static_assert(!IsPointer<D>::value, "must provide a deleter instance"); | 212 | 3 | static_assert(!IsReference<D>::value, "must provide a deleter instance"); | 213 | 3 | } |
mozilla::UniquePtr<mozilla::layers::ContentMonitor, mozilla::DefaultDelete<mozilla::layers::ContentMonitor> >::UniquePtr() Line | Count | Source | 210 | 3 | { | 211 | 3 | static_assert(!IsPointer<D>::value, "must provide a deleter instance"); | 212 | 3 | static_assert(!IsReference<D>::value, "must provide a deleter instance"); | 213 | 3 | } |
Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CanvasRenderer, mozilla::DefaultDelete<mozilla::layers::CanvasRenderer> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::GLBlitTextureImageHelper, mozilla::DefaultDelete<mozilla::layers::GLBlitTextureImageHelper> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ActiveResourceTracker, mozilla::DefaultDelete<mozilla::layers::ActiveResourceTracker> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<nsDisplayItemGeometry, mozilla::DefaultDelete<nsDisplayItemGeometry> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerProperties, mozilla::DefaultDelete<mozilla::layers::LayerProperties> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::WebRenderCanvasRendererAsync, mozilla::DefaultDelete<mozilla::layers::WebRenderCanvasRendererAsync> >::UniquePtr() mozilla::UniquePtr<mozilla::layers::TileExpiry, mozilla::DefaultDelete<mozilla::layers::TileExpiry> >::UniquePtr() Line | Count | Source | 210 | 3 | { | 211 | 3 | static_assert(!IsPointer<D>::value, "must provide a deleter instance"); | 212 | 3 | static_assert(!IsReference<D>::value, "must provide a deleter instance"); | 213 | 3 | } |
Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CompositorScreenshotGrabberImpl, mozilla::DefaultDelete<mozilla::layers::CompositorScreenshotGrabberImpl> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ProfilerScreenshots, mozilla::DefaultDelete<mozilla::layers::ProfilerScreenshots> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PreparedData, mozilla::DefaultDelete<mozilla::layers::PreparedData> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::Diagnostics, mozilla::DefaultDelete<mozilla::layers::Diagnostics> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TextRenderer::FontCache, mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::ipc::Shmem, mozilla::DefaultDelete<mozilla::ipc::Shmem> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::WebRenderProgramCache, mozilla::DefaultDelete<mozilla::wr::WebRenderProgramCache> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererOGL, mozilla::DefaultDelete<mozilla::wr::RendererOGL> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForShadow, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForShadow> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForFilter, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForFilter> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::FormatUsageAuthority, mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLContext::LocalErrorScope, mozilla::DefaultDelete<mozilla::gl::GLContext::LocalErrorScope> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLFramebuffer::ResolvedData const, mozilla::DefaultDelete<mozilla::WebGLFramebuffer::ResolvedData const> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::ShaderValidator, mozilla::DefaultDelete<mozilla::webgl::ShaderValidator> >::UniquePtr() mozilla::UniquePtr<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >, mozilla::DefaultDelete<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > > >::UniquePtr() Line | Count | Source | 210 | 3 | { | 211 | 3 | static_assert(!IsPointer<D>::value, "must provide a deleter instance"); | 212 | 3 | static_assert(!IsReference<D>::value, "must provide a deleter instance"); | 213 | 3 | } |
Unexecuted instantiation: mozilla::UniquePtr<mozilla::plugins::LaunchCompleteTask, mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::CurrentX11TimeGetter, mozilla::DefaultDelete<mozilla::CurrentX11TimeGetter> >::UniquePtr() |
214 | | |
215 | | /** |
216 | | * Construct a UniquePtr containing |aPtr|. |
217 | | */ |
218 | | explicit UniquePtr(Pointer aPtr) |
219 | | : mTuple(aPtr, DeleterType()) |
220 | 0 | { |
221 | 0 | static_assert(!IsPointer<D>::value, "must provide a deleter instance"); |
222 | 0 | static_assert(!IsReference<D>::value, "must provide a deleter instance"); |
223 | 0 | } Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_GLXDrawable, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_GLXDrawable> >::UniquePtr(mozilla::gl::SurfaceFactory_GLXDrawable*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLReadTexImageHelper, mozilla::DefaultDelete<mozilla::gl::GLReadTexImageHelper> >::UniquePtr(mozilla::gl::GLReadTexImageHelper*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_Basic, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_Basic> >::UniquePtr(mozilla::gl::SurfaceFactory_Basic*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::DrawBuffer, mozilla::DefaultDelete<mozilla::gl::DrawBuffer> >::UniquePtr(mozilla::gl::DrawBuffer*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >::UniquePtr(mozilla::gl::ReadBuffer*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >::UniquePtr(mozilla::gl::MozFramebuffer*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_Basic, mozilla::DefaultDelete<mozilla::gl::SharedSurface_Basic> >::UniquePtr(mozilla::gl::SharedSurface_Basic*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ContentMonitor, mozilla::DefaultDelete<mozilla::layers::ContentMonitor> >::UniquePtr(mozilla::layers::ContentMonitor*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerScopeWebSocketManager, mozilla::DefaultDelete<mozilla::layers::LayerScopeWebSocketManager> >::UniquePtr(mozilla::layers::LayerScopeWebSocketManager*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::DrawSession, mozilla::DefaultDelete<mozilla::layers::DrawSession> >::UniquePtr(mozilla::layers::DrawSession*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::DebugGLData, mozilla::DefaultDelete<mozilla::layers::DebugGLData> >::UniquePtr(mozilla::layers::DebugGLData*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::Packet, mozilla::DefaultDelete<mozilla::layers::layerscope::Packet> >::UniquePtr(mozilla::layers::layerscope::Packet*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::CommandPacket, mozilla::DefaultDelete<mozilla::layers::layerscope::CommandPacket> >::UniquePtr(mozilla::layers::layerscope::CommandPacket*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerPropertiesBase, mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase> >::UniquePtr(mozilla::layers::LayerPropertiesBase*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ContainerLayerProperties, mozilla::DefaultDelete<mozilla::layers::ContainerLayerProperties> >::UniquePtr(mozilla::layers::ContainerLayerProperties*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ColorLayerProperties, mozilla::DefaultDelete<mozilla::layers::ColorLayerProperties> >::UniquePtr(mozilla::layers::ColorLayerProperties*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ImageLayerProperties, mozilla::DefaultDelete<mozilla::layers::ImageLayerProperties> >::UniquePtr(mozilla::layers::ImageLayerProperties*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CanvasLayerProperties, mozilla::DefaultDelete<mozilla::layers::CanvasLayerProperties> >::UniquePtr(mozilla::layers::CanvasLayerProperties*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerUserData, mozilla::DefaultDelete<mozilla::layers::LayerUserData> >::UniquePtr(mozilla::layers::LayerUserData*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintThread, mozilla::DefaultDelete<mozilla::layers::PaintThread> >::UniquePtr(mozilla::layers::PaintThread*) Unexecuted instantiation: mozilla::UniquePtr<ScreenshotPayload, mozilla::DefaultDelete<ScreenshotPayload> >::UniquePtr(ScreenshotPayload*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::GLBlitTextureImageHelper, mozilla::DefaultDelete<mozilla::layers::GLBlitTextureImageHelper> >::UniquePtr(mozilla::layers::GLBlitTextureImageHelper*) Unexecuted instantiation: mozilla::UniquePtr<nsDisplayItemGeometry, mozilla::DefaultDelete<nsDisplayItemGeometry> >::UniquePtr(nsDisplayItemGeometry*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ActiveResourceTracker, mozilla::DefaultDelete<mozilla::layers::ActiveResourceTracker> >::UniquePtr(mozilla::layers::ActiveResourceTracker*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ScheduleObserveLayersUpdate, mozilla::DefaultDelete<mozilla::layers::ScheduleObserveLayersUpdate> >::UniquePtr(mozilla::layers::ScheduleObserveLayersUpdate*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::WebRenderCanvasRendererAsync, mozilla::DefaultDelete<mozilla::layers::WebRenderCanvasRendererAsync> >::UniquePtr(mozilla::layers::WebRenderCanvasRendererAsync*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::CrossProcessSemaphore, mozilla::DefaultDelete<mozilla::CrossProcessSemaphore> >::UniquePtr(mozilla::CrossProcessSemaphore*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintTask, mozilla::DefaultDelete<mozilla::layers::PaintTask> >::UniquePtr(mozilla::layers::PaintTask*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TileExpiry, mozilla::DefaultDelete<mozilla::layers::TileExpiry> >::UniquePtr(mozilla::layers::TileExpiry*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CompositorScreenshotGrabberImpl, mozilla::DefaultDelete<mozilla::layers::CompositorScreenshotGrabberImpl> >::UniquePtr(mozilla::layers::CompositorScreenshotGrabberImpl*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ProfilerScreenshots, mozilla::DefaultDelete<mozilla::layers::ProfilerScreenshots> >::UniquePtr(mozilla::layers::ProfilerScreenshots*) Unexecuted instantiation: mozilla::UniquePtr<LayerTranslationMarkerPayload, mozilla::DefaultDelete<LayerTranslationMarkerPayload> >::UniquePtr(LayerTranslationMarkerPayload*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PreparedData, mozilla::DefaultDelete<mozilla::layers::PreparedData> >::UniquePtr(mozilla::layers::PreparedData*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::Diagnostics, mozilla::DefaultDelete<mozilla::layers::Diagnostics> >::UniquePtr(mozilla::layers::Diagnostics*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TextRenderer::FontCache, mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache> >::UniquePtr(mozilla::layers::TextRenderer::FontCache*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::ipc::Shmem, mozilla::DefaultDelete<mozilla::ipc::Shmem> >::UniquePtr(mozilla::ipc::Shmem*) Unexecuted instantiation: mozilla::UniquePtr<VsyncMarkerPayload, mozilla::DefaultDelete<VsyncMarkerPayload> >::UniquePtr(VsyncMarkerPayload*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositorOGL, mozilla::DefaultDelete<mozilla::wr::RenderCompositorOGL> >::UniquePtr(mozilla::wr::RenderCompositorOGL*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::WebRenderProgramCache, mozilla::DefaultDelete<mozilla::wr::WebRenderProgramCache> >::UniquePtr(mozilla::wr::WebRenderProgramCache*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >::UniquePtr(mozilla::wr::RendererEvent*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererOGL, mozilla::DefaultDelete<mozilla::wr::RendererOGL> >::UniquePtr(mozilla::wr::RendererOGL*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::NewRenderer, mozilla::DefaultDelete<mozilla::wr::NewRenderer> >::UniquePtr(mozilla::wr::NewRenderer*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RemoveRenderer, mozilla::DefaultDelete<mozilla::wr::RemoveRenderer> >::UniquePtr(mozilla::wr::RemoveRenderer*) Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback> >::UniquePtr(mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback*) Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Pause()::PauseEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Pause()::PauseEvent> >::UniquePtr(mozilla::wr::WebRenderAPI::Pause()::PauseEvent*) Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent> >::UniquePtr(mozilla::wr::WebRenderAPI::Resume()::ResumeEvent*) Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent> >::UniquePtr(mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::FrameStartTime, mozilla::DefaultDelete<mozilla::wr::FrameStartTime> >::UniquePtr(mozilla::wr::FrameStartTime*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForShadow, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForShadow> >::UniquePtr(mozilla::dom::AdjustedTargetForShadow*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForFilter, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForFilter> >::UniquePtr(mozilla::dom::AdjustedTargetForFilter*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::ImageUtils, mozilla::DefaultDelete<mozilla::dom::ImageUtils> >::UniquePtr(mozilla::dom::ImageUtils*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::ImageBitmapCloneData, mozilla::DefaultDelete<mozilla::dom::ImageBitmapCloneData> >::UniquePtr(mozilla::dom::ImageBitmapCloneData*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::imagebitmapformat::Utils, mozilla::dom::imagebitmapformat::DoNotDelete>::UniquePtr(mozilla::dom::imagebitmapformat::Utils*) Unexecuted instantiation: mozilla::UniquePtr<nsTArray<mozilla::dom::ChannelPixelLayout>, mozilla::DefaultDelete<nsTArray<mozilla::dom::ChannelPixelLayout> > >::UniquePtr(nsTArray<mozilla::dom::ChannelPixelLayout>*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >::UniquePtr(mozilla::WebGLContext::FakeBlackTexture*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::FormatUsageAuthority, mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority> >::UniquePtr(mozilla::webgl::FormatUsageAuthority*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const, mozilla::DefaultDelete<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const> >::UniquePtr(mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBytes, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBytes> >::UniquePtr(mozilla::webgl::TexUnpackBytes*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackSurface, mozilla::DefaultDelete<mozilla::webgl::TexUnpackSurface> >::UniquePtr(mozilla::webgl::TexUnpackSurface*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackImage, mozilla::DefaultDelete<mozilla::webgl::TexUnpackImage> >::UniquePtr(mozilla::webgl::TexUnpackImage*) Unexecuted instantiation: mozilla::UniquePtr<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >, mozilla::DefaultDelete<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > > >::UniquePtr(JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::plugins::LaunchCompleteTask, mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask> >::UniquePtr(mozilla::plugins::LaunchCompleteTask*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::CurrentX11TimeGetter, mozilla::DefaultDelete<mozilla::CurrentX11TimeGetter> >::UniquePtr(mozilla::CurrentX11TimeGetter*) Unexecuted instantiation: mozilla::UniquePtr<TestContainerLayer, mozilla::DefaultDelete<TestContainerLayer> >::UniquePtr(TestContainerLayer*) |
224 | | |
225 | | UniquePtr(Pointer aPtr, |
226 | | typename Conditional<IsReference<D>::value, |
227 | | D, |
228 | | const D&>::Type aD1) |
229 | | : mTuple(aPtr, aD1) |
230 | | {} |
231 | | |
232 | | // If you encounter an error with MSVC10 about RemoveReference below, along |
233 | | // the lines that "more than one partial specialization matches the template |
234 | | // argument list": don't use UniquePtr<T, reference to function>! Ideally |
235 | | // you should make deletion use the same function every time, using a |
236 | | // deleter policy: |
237 | | // |
238 | | // // BAD, won't compile with MSVC10, deleter doesn't need to be a |
239 | | // // variable at all |
240 | | // typedef void (&FreeSignature)(void*); |
241 | | // UniquePtr<int, FreeSignature> ptr((int*) malloc(sizeof(int)), free); |
242 | | // |
243 | | // // GOOD, compiles with MSVC10, deletion behavior statically known and |
244 | | // // optimizable |
245 | | // struct DeleteByFreeing |
246 | | // { |
247 | | // void operator()(void* aPtr) { free(aPtr); } |
248 | | // }; |
249 | | // |
250 | | // If deletion really, truly, must be a variable: you might be able to work |
251 | | // around this with a deleter class that contains the function reference. |
252 | | // But this workaround is untried and untested, because variable deletion |
253 | | // behavior really isn't something you should use. |
254 | | UniquePtr(Pointer aPtr, |
255 | | typename RemoveReference<D>::Type&& aD2) |
256 | | : mTuple(aPtr, std::move(aD2)) |
257 | | { |
258 | | static_assert(!IsReference<D>::value, |
259 | | "rvalue deleter can't be stored by reference"); |
260 | | } |
261 | | |
262 | | UniquePtr(UniquePtr&& aOther) |
263 | | : mTuple(aOther.release(), std::forward<DeleterType>(aOther.get_deleter())) |
264 | 0 | {} Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >::UniquePtr(mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >::UniquePtr(mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >::UniquePtr(mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface, mozilla::DefaultDelete<mozilla::gl::SharedSurface> >::UniquePtr(mozilla::UniquePtr<mozilla::gl::SharedSurface, mozilla::DefaultDelete<mozilla::gl::SharedSurface> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::Packet, mozilla::DefaultDelete<mozilla::layers::layerscope::Packet> >::UniquePtr(mozilla::UniquePtr<mozilla::layers::layerscope::Packet, mozilla::DefaultDelete<mozilla::layers::layerscope::Packet> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerPropertiesBase, mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase> >::UniquePtr(mozilla::UniquePtr<mozilla::layers::LayerPropertiesBase, mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintThread, mozilla::DefaultDelete<mozilla::layers::PaintThread> >::UniquePtr(mozilla::UniquePtr<mozilla::layers::PaintThread, mozilla::DefaultDelete<mozilla::layers::PaintThread> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintTask, mozilla::DefaultDelete<mozilla::layers::PaintTask> >::UniquePtr(mozilla::UniquePtr<mozilla::layers::PaintTask, mozilla::DefaultDelete<mozilla::layers::PaintTask> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ActiveResourceTracker, mozilla::DefaultDelete<mozilla::layers::ActiveResourceTracker> >::UniquePtr(mozilla::UniquePtr<mozilla::layers::ActiveResourceTracker, mozilla::DefaultDelete<mozilla::layers::ActiveResourceTracker> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositor, mozilla::DefaultDelete<mozilla::wr::RenderCompositor> >::UniquePtr(mozilla::UniquePtr<mozilla::wr::RenderCompositor, mozilla::DefaultDelete<mozilla::wr::RenderCompositor> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >::UniquePtr(mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererOGL, mozilla::DefaultDelete<mozilla::wr::RendererOGL> >::UniquePtr(mozilla::UniquePtr<mozilla::wr::RendererOGL, mozilla::DefaultDelete<mozilla::wr::RendererOGL> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::ImageBitmapCloneData, mozilla::DefaultDelete<mozilla::dom::ImageBitmapCloneData> >::UniquePtr(mozilla::UniquePtr<mozilla::dom::ImageBitmapCloneData, mozilla::DefaultDelete<mozilla::dom::ImageBitmapCloneData> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >::UniquePtr(mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::FormatUsageAuthority, mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority> >::UniquePtr(mozilla::UniquePtr<mozilla::webgl::FormatUsageAuthority, mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const, mozilla::DefaultDelete<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const> >::UniquePtr(mozilla::UniquePtr<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const, mozilla::DefaultDelete<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBlob, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBlob> >::UniquePtr(mozilla::UniquePtr<mozilla::webgl::TexUnpackBlob, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBlob> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::plugins::LaunchCompleteTask, mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask> >::UniquePtr(mozilla::UniquePtr<mozilla::plugins::LaunchCompleteTask, mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask> >&&) |
265 | | |
266 | | MOZ_IMPLICIT |
267 | | UniquePtr(decltype(nullptr)) |
268 | | : mTuple(nullptr, DeleterType()) |
269 | 0 | { |
270 | 0 | static_assert(!IsPointer<D>::value, "must provide a deleter instance"); |
271 | 0 | static_assert(!IsReference<D>::value, "must provide a deleter instance"); |
272 | 0 | } Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >::UniquePtr(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >::UniquePtr(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >::UniquePtr(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface, mozilla::DefaultDelete<mozilla::gl::SharedSurface> >::UniquePtr(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerPropertiesBase, mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase> >::UniquePtr(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintTask, mozilla::DefaultDelete<mozilla::layers::PaintTask> >::UniquePtr(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositor, mozilla::DefaultDelete<mozilla::wr::RenderCompositor> >::UniquePtr(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::ImageBitmapCloneData, mozilla::DefaultDelete<mozilla::dom::ImageBitmapCloneData> >::UniquePtr(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::imagebitmapformat::Utils, mozilla::dom::imagebitmapformat::DoNotDelete>::UniquePtr(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >::UniquePtr(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::FormatUsageAuthority, mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority> >::UniquePtr(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const, mozilla::DefaultDelete<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const> >::UniquePtr(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBytes, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBytes> >::UniquePtr(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBlob, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBlob> >::UniquePtr(decltype(nullptr)) |
273 | | |
274 | | template<typename U, class E> |
275 | | MOZ_IMPLICIT |
276 | | UniquePtr(UniquePtr<U, E>&& aOther, |
277 | | typename EnableIf<IsConvertible<typename UniquePtr<U, E>::Pointer, |
278 | | Pointer>::value && |
279 | | !IsArray<U>::value && |
280 | | (IsReference<D>::value |
281 | | ? IsSame<D, E>::value |
282 | | : IsConvertible<E, D>::value), |
283 | | int>::Type aDummy = 0) |
284 | | : mTuple(aOther.release(), std::forward<E>(aOther.get_deleter())) |
285 | 0 | { |
286 | 0 | } Unexecuted instantiation: _ZN7mozilla9UniquePtrINS_2gl13SharedSurfaceENS_13DefaultDeleteIS2_EEEC2INS1_25SharedSurface_GLXDrawableENS3_IS7_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSB_7PointerEPS2_EE5valuentsr7IsArrayIS9_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SA_EE5valuesr13IsConvertibleISA_S4_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrINS_2gl14SurfaceFactoryENS_13DefaultDeleteIS2_EEEC2INS1_20SurfaceFactory_BasicENS3_IS7_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSB_7PointerEPS2_EE5valuentsr7IsArrayIS9_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SA_EE5valuesr13IsConvertibleISA_S4_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrINS_2gl13SharedSurfaceENS_13DefaultDeleteIS2_EEEC2INS1_22SharedSurface_EGLImageENS3_IS7_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSB_7PointerEPS2_EE5valuentsr7IsArrayIS9_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SA_EE5valuesr13IsConvertibleISA_S4_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrINS_2gl13SharedSurfaceENS_13DefaultDeleteIS2_EEEC2INS1_19SharedSurface_BasicENS3_IS7_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSB_7PointerEPS2_EE5valuentsr7IsArrayIS9_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SA_EE5valuesr13IsConvertibleISA_S4_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrINS_6layers19LayerPropertiesBaseENS_13DefaultDeleteIS2_EEEC2INS1_24ContainerLayerPropertiesENS3_IS7_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSB_7PointerEPS2_EE5valuentsr7IsArrayIS9_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SA_EE5valuesr13IsConvertibleISA_S4_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrINS_6layers19LayerPropertiesBaseENS_13DefaultDeleteIS2_EEEC2INS1_20ColorLayerPropertiesENS3_IS7_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSB_7PointerEPS2_EE5valuentsr7IsArrayIS9_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SA_EE5valuesr13IsConvertibleISA_S4_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrINS_6layers19LayerPropertiesBaseENS_13DefaultDeleteIS2_EEEC2INS1_20ImageLayerPropertiesENS3_IS7_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSB_7PointerEPS2_EE5valuentsr7IsArrayIS9_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SA_EE5valuesr13IsConvertibleISA_S4_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrINS_6layers19LayerPropertiesBaseENS_13DefaultDeleteIS2_EEEC2INS1_21CanvasLayerPropertiesENS3_IS7_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSB_7PointerEPS2_EE5valuentsr7IsArrayIS9_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SA_EE5valuesr13IsConvertibleISA_S4_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrINS_6layers15LayerPropertiesENS_13DefaultDeleteIS2_EEEC2INS1_19LayerPropertiesBaseENS3_IS7_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSB_7PointerEPS2_EE5valuentsr7IsArrayIS9_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SA_EE5valuesr13IsConvertibleISA_S4_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrI21ProfilerMarkerPayloadNS_13DefaultDeleteIS1_EEEC2I17ScreenshotPayloadNS2_IS6_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSA_7PointerEPS1_EE5valuentsr7IsArrayIS8_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS3_S9_EE5valuesr13IsConvertibleIS9_S3_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrINS_2wr19NotificationHandlerENS_13DefaultDeleteIS2_EEEC2INS_6layers27ScheduleObserveLayersUpdateENS3_IS8_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSC_7PointerEPS2_EE5valuentsr7IsArrayISA_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SB_EE5valuesr13IsConvertibleISB_S4_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrI21ProfilerMarkerPayloadNS_13DefaultDeleteIS1_EEEC2I29LayerTranslationMarkerPayloadNS2_IS6_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSA_7PointerEPS1_EE5valuentsr7IsArrayIS8_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS3_S9_EE5valuesr13IsConvertibleIS9_S3_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrI21ProfilerMarkerPayloadNS_13DefaultDeleteIS1_EEEC2I18VsyncMarkerPayloadNS2_IS6_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSA_7PointerEPS1_EE5valuentsr7IsArrayIS8_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS3_S9_EE5valuesr13IsConvertibleIS9_S3_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrINS_2wr16RenderCompositorENS_13DefaultDeleteIS2_EEEC2INS1_19RenderCompositorOGLENS3_IS7_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSB_7PointerEPS2_EE5valuentsr7IsArrayIS9_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SA_EE5valuesr13IsConvertibleISA_S4_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrINS_2wr13RendererEventENS_13DefaultDeleteIS2_EEEC2INS1_11NewRendererENS3_IS7_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSB_7PointerEPS2_EE5valuentsr7IsArrayIS9_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SA_EE5valuesr13IsConvertibleISA_S4_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrINS_2wr13RendererEventENS_13DefaultDeleteIS2_EEEC2INS1_14RemoveRendererENS3_IS7_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSB_7PointerEPS2_EE5valuentsr7IsArrayIS9_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SA_EE5valuesr13IsConvertibleISA_S4_EE5valueEiE4TypeE Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:_ZN7mozilla9UniquePtrINS_2wr13RendererEventENS_13DefaultDeleteIS2_EEEC2IZNS1_12WebRenderAPI8ReadbackERKNS_9TimeStampENS_3gfx12IntSizeTypedINSB_12UnknownUnitsEEEPhjE8ReadbackNS3_ISG_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSK_7PointerEPS2_EE5valuentsr7IsArrayISI_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SJ_EE5valuesr13IsConvertibleISJ_S4_EE5valueEiE4TypeE Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:_ZN7mozilla9UniquePtrINS_2wr13RendererEventENS_13DefaultDeleteIS2_EEEC2IZNS1_12WebRenderAPI5PauseEvE10PauseEventNS3_IS8_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSC_7PointerEPS2_EE5valuentsr7IsArrayISA_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SB_EE5valuesr13IsConvertibleISB_S4_EE5valueEiE4TypeE Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:_ZN7mozilla9UniquePtrINS_2wr13RendererEventENS_13DefaultDeleteIS2_EEEC2IZNS1_12WebRenderAPI6ResumeEvE11ResumeEventNS3_IS8_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSC_7PointerEPS2_EE5valuentsr7IsArrayISA_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SB_EE5valuesr13IsConvertibleISB_S4_EE5valueEiE4TypeE Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:_ZN7mozilla9UniquePtrINS_2wr13RendererEventENS_13DefaultDeleteIS2_EEEC2IZNS1_12WebRenderAPI11WaitFlushedEvE16WaitFlushedEventNS3_IS8_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSC_7PointerEPS2_EE5valuentsr7IsArrayISA_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SB_EE5valuesr13IsConvertibleISB_S4_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrINS_2wr13RendererEventENS_13DefaultDeleteIS2_EEEC2INS1_14FrameStartTimeENS3_IS7_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSB_7PointerEPS2_EE5valuentsr7IsArrayIS9_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SA_EE5valuesr13IsConvertibleISA_S4_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrINS_5webgl13TexUnpackBlobENS_13DefaultDeleteIS2_EEEC2INS1_16TexUnpackSurfaceENS3_IS7_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSB_7PointerEPS2_EE5valuentsr7IsArrayIS9_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SA_EE5valuesr13IsConvertibleISA_S4_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrINS_5webgl13TexUnpackBlobENS_13DefaultDeleteIS2_EEEC2INS1_14TexUnpackBytesENS3_IS7_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSB_7PointerEPS2_EE5valuentsr7IsArrayIS9_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SA_EE5valuesr13IsConvertibleISA_S4_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla9UniquePtrINS_5webgl13TexUnpackBlobENS_13DefaultDeleteIS2_EEEC2INS1_14TexUnpackImageENS3_IS7_EEEEONS0_IT_T0_EENS_8EnableIfIXaaaasr13IsConvertibleINSB_7PointerEPS2_EE5valuentsr7IsArrayIS9_EE5valuequL_ZNS_16IntegralConstantIbLb0EE5valueEEsr6IsSameIS4_SA_EE5valuesr13IsConvertibleISA_S4_EE5valueEiE4TypeE |
287 | | |
288 | 0 | ~UniquePtr() { reset(nullptr); } Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_GLXDrawable, mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLXDrawable> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_GLXDrawable, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_GLXDrawable> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLBlitHelper, mozilla::DefaultDelete<mozilla::gl::GLBlitHelper> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLReadTexImageHelper, mozilla::DefaultDelete<mozilla::gl::GLReadTexImageHelper> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLScreenBuffer, mozilla::DefaultDelete<mozilla::gl::GLScreenBuffer> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_Basic, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_Basic> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::DrawBuffer, mozilla::DefaultDelete<mozilla::gl::DrawBuffer> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_Basic, mozilla::DefaultDelete<mozilla::gl::SharedSurface_Basic> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface, mozilla::DefaultDelete<mozilla::gl::SharedSurface> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_GLTexture, mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLTexture> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_EGLImage, mozilla::DefaultDelete<mozilla::gl::SharedSurface_EGLImage> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_EGLImage, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_EGLImage> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ContentMonitor, mozilla::DefaultDelete<mozilla::layers::ContentMonitor> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::DrawSession, mozilla::DefaultDelete<mozilla::layers::DrawSession> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerScopeWebSocketManager, mozilla::DefaultDelete<mozilla::layers::LayerScopeWebSocketManager> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::DebugGLData, mozilla::DefaultDelete<mozilla::layers::DebugGLData> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::Packet, mozilla::DefaultDelete<mozilla::layers::layerscope::Packet> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::CommandPacket, mozilla::DefaultDelete<mozilla::layers::layerscope::CommandPacket> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintTask, mozilla::DefaultDelete<mozilla::layers::PaintTask> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerPropertiesBase, mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ContainerLayerProperties, mozilla::DefaultDelete<mozilla::layers::ContainerLayerProperties> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ColorLayerProperties, mozilla::DefaultDelete<mozilla::layers::ColorLayerProperties> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ImageLayerProperties, mozilla::DefaultDelete<mozilla::layers::ImageLayerProperties> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CanvasLayerProperties, mozilla::DefaultDelete<mozilla::layers::CanvasLayerProperties> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerUserData, mozilla::DefaultDelete<mozilla::layers::LayerUserData> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CanvasRenderer, mozilla::DefaultDelete<mozilla::layers::CanvasRenderer> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintThread, mozilla::DefaultDelete<mozilla::layers::PaintThread> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<ScreenshotPayload, mozilla::DefaultDelete<ScreenshotPayload> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::GLBlitTextureImageHelper, mozilla::DefaultDelete<mozilla::layers::GLBlitTextureImageHelper> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<nsDisplayItemGeometry, mozilla::DefaultDelete<nsDisplayItemGeometry> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ActiveResourceTracker, mozilla::DefaultDelete<mozilla::layers::ActiveResourceTracker> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ScheduleObserveLayersUpdate, mozilla::DefaultDelete<mozilla::layers::ScheduleObserveLayersUpdate> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::NotificationHandler, mozilla::DefaultDelete<mozilla::wr::NotificationHandler> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerProperties, mozilla::DefaultDelete<mozilla::layers::LayerProperties> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::WebRenderCanvasRendererAsync, mozilla::DefaultDelete<mozilla::layers::WebRenderCanvasRendererAsync> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::CrossProcessSemaphore, mozilla::DefaultDelete<mozilla::CrossProcessSemaphore> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TileExpiry, mozilla::DefaultDelete<mozilla::layers::TileExpiry> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CompositorScreenshotGrabberImpl, mozilla::DefaultDelete<mozilla::layers::CompositorScreenshotGrabberImpl> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ProfilerScreenshots, mozilla::DefaultDelete<mozilla::layers::ProfilerScreenshots> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PreparedData, mozilla::DefaultDelete<mozilla::layers::PreparedData> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<LayerTranslationMarkerPayload, mozilla::DefaultDelete<LayerTranslationMarkerPayload> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TextRenderer::FontCache, mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::Diagnostics, mozilla::DefaultDelete<mozilla::layers::Diagnostics> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::ipc::Shmem, mozilla::DefaultDelete<mozilla::ipc::Shmem> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<VsyncMarkerPayload, mozilla::DefaultDelete<VsyncMarkerPayload> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererOGL, mozilla::DefaultDelete<mozilla::wr::RendererOGL> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositor, mozilla::DefaultDelete<mozilla::wr::RenderCompositor> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositorOGL, mozilla::DefaultDelete<mozilla::wr::RenderCompositorOGL> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::WebRenderProgramCache, mozilla::DefaultDelete<mozilla::wr::WebRenderProgramCache> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::NewRenderer, mozilla::DefaultDelete<mozilla::wr::NewRenderer> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RemoveRenderer, mozilla::DefaultDelete<mozilla::wr::RemoveRenderer> >::~UniquePtr() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback> >::~UniquePtr() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Pause()::PauseEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Pause()::PauseEvent> >::~UniquePtr() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent> >::~UniquePtr() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::FrameStartTime, mozilla::DefaultDelete<mozilla::wr::FrameStartTime> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForShadow, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForShadow> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForFilter, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForFilter> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::ImageUtils, mozilla::DefaultDelete<mozilla::dom::ImageUtils> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::imagebitmapformat::Utils, mozilla::dom::imagebitmapformat::DoNotDelete>::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::FormatUsageAuthority, mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLContext::LocalErrorScope, mozilla::DefaultDelete<mozilla::gl::GLContext::LocalErrorScope> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const, mozilla::DefaultDelete<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLFramebuffer::ResolvedData const, mozilla::DefaultDelete<mozilla::WebGLFramebuffer::ResolvedData const> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::ShaderValidator, mozilla::DefaultDelete<mozilla::webgl::ShaderValidator> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBytes, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBytes> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBlob, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBlob> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackSurface, mozilla::DefaultDelete<mozilla::webgl::TexUnpackSurface> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackImage, mozilla::DefaultDelete<mozilla::webgl::TexUnpackImage> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >, mozilla::DefaultDelete<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > > >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::plugins::LaunchCompleteTask, mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::widget::WindowSurface, mozilla::DefaultDelete<mozilla::widget::WindowSurface> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::CurrentX11TimeGetter, mozilla::DefaultDelete<mozilla::CurrentX11TimeGetter> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<TestContainerLayer, mozilla::DefaultDelete<TestContainerLayer> >::~UniquePtr() |
289 | | |
290 | | UniquePtr& operator=(UniquePtr&& aOther) |
291 | 0 | { |
292 | 0 | reset(aOther.release()); |
293 | 0 | get_deleter() = std::forward<DeleterType>(aOther.get_deleter()); |
294 | 0 | return *this; |
295 | 0 | } Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLScreenBuffer, mozilla::DefaultDelete<mozilla::gl::GLScreenBuffer> >::operator=(mozilla::UniquePtr<mozilla::gl::GLScreenBuffer, mozilla::DefaultDelete<mozilla::gl::GLScreenBuffer> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLReadTexImageHelper, mozilla::DefaultDelete<mozilla::gl::GLReadTexImageHelper> >::operator=(mozilla::UniquePtr<mozilla::gl::GLReadTexImageHelper, mozilla::DefaultDelete<mozilla::gl::GLReadTexImageHelper> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >::operator=(mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::DrawBuffer, mozilla::DefaultDelete<mozilla::gl::DrawBuffer> >::operator=(mozilla::UniquePtr<mozilla::gl::DrawBuffer, mozilla::DefaultDelete<mozilla::gl::DrawBuffer> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >::operator=(mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_Basic, mozilla::DefaultDelete<mozilla::gl::SharedSurface_Basic> >::operator=(mozilla::UniquePtr<mozilla::gl::SharedSurface_Basic, mozilla::DefaultDelete<mozilla::gl::SharedSurface_Basic> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ContentMonitor, mozilla::DefaultDelete<mozilla::layers::ContentMonitor> >::operator=(mozilla::UniquePtr<mozilla::layers::ContentMonitor, mozilla::DefaultDelete<mozilla::layers::ContentMonitor> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerScopeWebSocketManager, mozilla::DefaultDelete<mozilla::layers::LayerScopeWebSocketManager> >::operator=(mozilla::UniquePtr<mozilla::layers::LayerScopeWebSocketManager, mozilla::DefaultDelete<mozilla::layers::LayerScopeWebSocketManager> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::DrawSession, mozilla::DefaultDelete<mozilla::layers::DrawSession> >::operator=(mozilla::UniquePtr<mozilla::layers::DrawSession, mozilla::DefaultDelete<mozilla::layers::DrawSession> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerPropertiesBase, mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase> >::operator=(mozilla::UniquePtr<mozilla::layers::LayerPropertiesBase, mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::GLBlitTextureImageHelper, mozilla::DefaultDelete<mozilla::layers::GLBlitTextureImageHelper> >::operator=(mozilla::UniquePtr<mozilla::layers::GLBlitTextureImageHelper, mozilla::DefaultDelete<mozilla::layers::GLBlitTextureImageHelper> >&&) Unexecuted instantiation: mozilla::UniquePtr<nsDisplayItemGeometry, mozilla::DefaultDelete<nsDisplayItemGeometry> >::operator=(mozilla::UniquePtr<nsDisplayItemGeometry, mozilla::DefaultDelete<nsDisplayItemGeometry> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ActiveResourceTracker, mozilla::DefaultDelete<mozilla::layers::ActiveResourceTracker> >::operator=(mozilla::UniquePtr<mozilla::layers::ActiveResourceTracker, mozilla::DefaultDelete<mozilla::layers::ActiveResourceTracker> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerProperties, mozilla::DefaultDelete<mozilla::layers::LayerProperties> >::operator=(mozilla::UniquePtr<mozilla::layers::LayerProperties, mozilla::DefaultDelete<mozilla::layers::LayerProperties> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::WebRenderCanvasRendererAsync, mozilla::DefaultDelete<mozilla::layers::WebRenderCanvasRendererAsync> >::operator=(mozilla::UniquePtr<mozilla::layers::WebRenderCanvasRendererAsync, mozilla::DefaultDelete<mozilla::layers::WebRenderCanvasRendererAsync> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TileExpiry, mozilla::DefaultDelete<mozilla::layers::TileExpiry> >::operator=(mozilla::UniquePtr<mozilla::layers::TileExpiry, mozilla::DefaultDelete<mozilla::layers::TileExpiry> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CompositorScreenshotGrabberImpl, mozilla::DefaultDelete<mozilla::layers::CompositorScreenshotGrabberImpl> >::operator=(mozilla::UniquePtr<mozilla::layers::CompositorScreenshotGrabberImpl, mozilla::DefaultDelete<mozilla::layers::CompositorScreenshotGrabberImpl> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ProfilerScreenshots, mozilla::DefaultDelete<mozilla::layers::ProfilerScreenshots> >::operator=(mozilla::UniquePtr<mozilla::layers::ProfilerScreenshots, mozilla::DefaultDelete<mozilla::layers::ProfilerScreenshots> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PreparedData, mozilla::DefaultDelete<mozilla::layers::PreparedData> >::operator=(mozilla::UniquePtr<mozilla::layers::PreparedData, mozilla::DefaultDelete<mozilla::layers::PreparedData> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::Diagnostics, mozilla::DefaultDelete<mozilla::layers::Diagnostics> >::operator=(mozilla::UniquePtr<mozilla::layers::Diagnostics, mozilla::DefaultDelete<mozilla::layers::Diagnostics> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TextRenderer::FontCache, mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache> >::operator=(mozilla::UniquePtr<mozilla::layers::TextRenderer::FontCache, mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::ipc::Shmem, mozilla::DefaultDelete<mozilla::ipc::Shmem> >::operator=(mozilla::UniquePtr<mozilla::ipc::Shmem, mozilla::DefaultDelete<mozilla::ipc::Shmem> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererOGL, mozilla::DefaultDelete<mozilla::wr::RendererOGL> >::operator=(mozilla::UniquePtr<mozilla::wr::RendererOGL, mozilla::DefaultDelete<mozilla::wr::RendererOGL> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::WebRenderProgramCache, mozilla::DefaultDelete<mozilla::wr::WebRenderProgramCache> >::operator=(mozilla::UniquePtr<mozilla::wr::WebRenderProgramCache, mozilla::DefaultDelete<mozilla::wr::WebRenderProgramCache> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForShadow, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForShadow> >::operator=(mozilla::UniquePtr<mozilla::dom::AdjustedTargetForShadow, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForShadow> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForFilter, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForFilter> >::operator=(mozilla::UniquePtr<mozilla::dom::AdjustedTargetForFilter, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForFilter> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >::operator=(mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >::operator=(mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::FormatUsageAuthority, mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority> >::operator=(mozilla::UniquePtr<mozilla::webgl::FormatUsageAuthority, mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const, mozilla::DefaultDelete<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const> >::operator=(mozilla::UniquePtr<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const, mozilla::DefaultDelete<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const> >&&) Unexecuted instantiation: mozilla::UniquePtr<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >, mozilla::DefaultDelete<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > > >::operator=(mozilla::UniquePtr<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >, mozilla::DefaultDelete<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > > >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::plugins::LaunchCompleteTask, mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask> >::operator=(mozilla::UniquePtr<mozilla::plugins::LaunchCompleteTask, mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::CurrentX11TimeGetter, mozilla::DefaultDelete<mozilla::CurrentX11TimeGetter> >::operator=(mozilla::UniquePtr<mozilla::CurrentX11TimeGetter, mozilla::DefaultDelete<mozilla::CurrentX11TimeGetter> >&&) |
296 | | |
297 | | template<typename U, typename E> |
298 | | UniquePtr& operator=(UniquePtr<U, E>&& aOther) |
299 | 0 | { |
300 | 0 | static_assert(IsConvertible<typename UniquePtr<U, E>::Pointer, |
301 | 0 | Pointer>::value, |
302 | 0 | "incompatible UniquePtr pointees"); |
303 | 0 | static_assert(!IsArray<U>::value, |
304 | 0 | "can't assign from UniquePtr holding an array"); |
305 | 0 |
|
306 | 0 | reset(aOther.release()); |
307 | 0 | get_deleter() = std::forward<E>(aOther.get_deleter()); |
308 | 0 | return *this; |
309 | 0 | } Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >& mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >::operator=<mozilla::gl::SurfaceFactory_GLXDrawable, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_GLXDrawable> >(mozilla::UniquePtr<mozilla::gl::SurfaceFactory_GLXDrawable, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_GLXDrawable> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface, mozilla::DefaultDelete<mozilla::gl::SharedSurface> >& mozilla::UniquePtr<mozilla::gl::SharedSurface, mozilla::DefaultDelete<mozilla::gl::SharedSurface> >::operator=<mozilla::gl::SharedSurface_Basic, mozilla::DefaultDelete<mozilla::gl::SharedSurface_Basic> >(mozilla::UniquePtr<mozilla::gl::SharedSurface_Basic, mozilla::DefaultDelete<mozilla::gl::SharedSurface_Basic> >&&) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >& mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >::operator=<mozilla::gl::SurfaceFactory_Basic, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_Basic> >(mozilla::UniquePtr<mozilla::gl::SurfaceFactory_Basic, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_Basic> >&&) |
310 | | |
311 | | UniquePtr& operator=(decltype(nullptr)) |
312 | 0 | { |
313 | 0 | reset(nullptr); |
314 | 0 | return *this; |
315 | 0 | } Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLScreenBuffer, mozilla::DefaultDelete<mozilla::gl::GLScreenBuffer> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLBlitHelper, mozilla::DefaultDelete<mozilla::gl::GLBlitHelper> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLReadTexImageHelper, mozilla::DefaultDelete<mozilla::gl::GLReadTexImageHelper> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::DrawBuffer, mozilla::DefaultDelete<mozilla::gl::DrawBuffer> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::GLBlitTextureImageHelper, mozilla::DefaultDelete<mozilla::layers::GLBlitTextureImageHelper> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::WebRenderCanvasRendererAsync, mozilla::DefaultDelete<mozilla::layers::WebRenderCanvasRendererAsync> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintTask, mozilla::DefaultDelete<mozilla::layers::PaintTask> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TileExpiry, mozilla::DefaultDelete<mozilla::layers::TileExpiry> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CompositorScreenshotGrabberImpl, mozilla::DefaultDelete<mozilla::layers::CompositorScreenshotGrabberImpl> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PreparedData, mozilla::DefaultDelete<mozilla::layers::PreparedData> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerProperties, mozilla::DefaultDelete<mozilla::layers::LayerProperties> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::ipc::Shmem, mozilla::DefaultDelete<mozilla::ipc::Shmem> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ActiveResourceTracker, mozilla::DefaultDelete<mozilla::layers::ActiveResourceTracker> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::ImageUtils, mozilla::DefaultDelete<mozilla::dom::ImageUtils> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLFramebuffer::ResolvedData const, mozilla::DefaultDelete<mozilla::WebGLFramebuffer::ResolvedData const> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::ShaderValidator, mozilla::DefaultDelete<mozilla::webgl::ShaderValidator> >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >, mozilla::DefaultDelete<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > > >::operator=(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::plugins::LaunchCompleteTask, mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask> >::operator=(decltype(nullptr)) |
316 | | |
317 | 0 | typename AddLvalueReference<T>::Type operator*() const { return *get(); } Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::Packet, mozilla::DefaultDelete<mozilla::layers::layerscope::Packet> >::operator*() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::DrawSession, mozilla::DefaultDelete<mozilla::layers::DrawSession> >::operator*() const Unexecuted instantiation: mozilla::UniquePtr<nsDisplayItemGeometry, mozilla::DefaultDelete<nsDisplayItemGeometry> >::operator*() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::ipc::Shmem, mozilla::DefaultDelete<mozilla::ipc::Shmem> >::operator*() const Unexecuted instantiation: mozilla::UniquePtr<nsTArray<mozilla::dom::ChannelPixelLayout>, mozilla::DefaultDelete<nsTArray<mozilla::dom::ChannelPixelLayout> > >::operator*() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLContext::LocalErrorScope, mozilla::DefaultDelete<mozilla::gl::GLContext::LocalErrorScope> >::operator*() const Unexecuted instantiation: mozilla::UniquePtr<TestContainerLayer, mozilla::DefaultDelete<TestContainerLayer> >::operator*() const |
318 | | Pointer operator->() const |
319 | 0 | { |
320 | 0 | MOZ_ASSERT(get(), "dereferencing a UniquePtr containing nullptr"); |
321 | 0 | return get(); |
322 | 0 | } Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CanvasRenderer, mozilla::DefaultDelete<mozilla::layers::CanvasRenderer> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::DrawBuffer, mozilla::DefaultDelete<mozilla::gl::DrawBuffer> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLScreenBuffer, mozilla::DefaultDelete<mozilla::gl::GLScreenBuffer> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerScopeWebSocketManager, mozilla::DefaultDelete<mozilla::layers::LayerScopeWebSocketManager> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::Packet, mozilla::DefaultDelete<mozilla::layers::layerscope::Packet> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::CommandPacket, mozilla::DefaultDelete<mozilla::layers::layerscope::CommandPacket> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerPropertiesBase, mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintThread, mozilla::DefaultDelete<mozilla::layers::PaintThread> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintTask, mozilla::DefaultDelete<mozilla::layers::PaintTask> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface, mozilla::DefaultDelete<mozilla::gl::SharedSurface> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<nsDisplayItemGeometry, mozilla::DefaultDelete<nsDisplayItemGeometry> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerProperties, mozilla::DefaultDelete<mozilla::layers::LayerProperties> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::WebRenderCanvasRendererAsync, mozilla::DefaultDelete<mozilla::layers::WebRenderCanvasRendererAsync> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::CrossProcessSemaphore, mozilla::DefaultDelete<mozilla::CrossProcessSemaphore> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TileExpiry, mozilla::DefaultDelete<mozilla::layers::TileExpiry> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CompositorScreenshotGrabberImpl, mozilla::DefaultDelete<mozilla::layers::CompositorScreenshotGrabberImpl> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ProfilerScreenshots, mozilla::DefaultDelete<mozilla::layers::ProfilerScreenshots> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PreparedData, mozilla::DefaultDelete<mozilla::layers::PreparedData> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::Diagnostics, mozilla::DefaultDelete<mozilla::layers::Diagnostics> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TextRenderer::FontCache, mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::ipc::Shmem, mozilla::DefaultDelete<mozilla::ipc::Shmem> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererOGL, mozilla::DefaultDelete<mozilla::wr::RendererOGL> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositor, mozilla::DefaultDelete<mozilla::wr::RenderCompositor> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForShadow, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForShadow> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForFilter, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForFilter> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::ImageBitmapCloneData, mozilla::DefaultDelete<mozilla::dom::ImageBitmapCloneData> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::ImageUtils, mozilla::DefaultDelete<mozilla::dom::ImageUtils> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<nsTArray<mozilla::dom::ChannelPixelLayout>, mozilla::DefaultDelete<nsTArray<mozilla::dom::ChannelPixelLayout> > >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::imagebitmapformat::Utils, mozilla::dom::imagebitmapformat::DoNotDelete>::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::FormatUsageAuthority, mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLFramebuffer::ResolvedData const, mozilla::DefaultDelete<mozilla::WebGLFramebuffer::ResolvedData const> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const, mozilla::DefaultDelete<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::ShaderValidator, mozilla::DefaultDelete<mozilla::webgl::ShaderValidator> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBlob, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBlob> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBytes, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBytes> >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >, mozilla::DefaultDelete<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > > >::operator->() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::plugins::LaunchCompleteTask, mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask> >::operator->() const |
323 | | |
324 | 0 | explicit operator bool() const { return get() != nullptr; } Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::DrawBuffer, mozilla::DefaultDelete<mozilla::gl::DrawBuffer> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLScreenBuffer, mozilla::DefaultDelete<mozilla::gl::GLScreenBuffer> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLBlitHelper, mozilla::DefaultDelete<mozilla::gl::GLBlitHelper> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLReadTexImageHelper, mozilla::DefaultDelete<mozilla::gl::GLReadTexImageHelper> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface, mozilla::DefaultDelete<mozilla::gl::SharedSurface> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerScopeWebSocketManager, mozilla::DefaultDelete<mozilla::layers::LayerScopeWebSocketManager> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerPropertiesBase, mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CanvasRenderer, mozilla::DefaultDelete<mozilla::layers::CanvasRenderer> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintThread, mozilla::DefaultDelete<mozilla::layers::PaintThread> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::GLBlitTextureImageHelper, mozilla::DefaultDelete<mozilla::layers::GLBlitTextureImageHelper> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<nsDisplayItemGeometry, mozilla::DefaultDelete<nsDisplayItemGeometry> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerProperties, mozilla::DefaultDelete<mozilla::layers::LayerProperties> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::WebRenderCanvasRendererAsync, mozilla::DefaultDelete<mozilla::layers::WebRenderCanvasRendererAsync> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::CrossProcessSemaphore, mozilla::DefaultDelete<mozilla::CrossProcessSemaphore> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintTask, mozilla::DefaultDelete<mozilla::layers::PaintTask> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TileExpiry, mozilla::DefaultDelete<mozilla::layers::TileExpiry> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CompositorScreenshotGrabberImpl, mozilla::DefaultDelete<mozilla::layers::CompositorScreenshotGrabberImpl> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ProfilerScreenshots, mozilla::DefaultDelete<mozilla::layers::ProfilerScreenshots> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PreparedData, mozilla::DefaultDelete<mozilla::layers::PreparedData> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TextRenderer::FontCache, mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::ipc::Shmem, mozilla::DefaultDelete<mozilla::ipc::Shmem> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::WebRenderProgramCache, mozilla::DefaultDelete<mozilla::wr::WebRenderProgramCache> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositor, mozilla::DefaultDelete<mozilla::wr::RenderCompositor> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererOGL, mozilla::DefaultDelete<mozilla::wr::RendererOGL> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLFramebuffer::ResolvedData const, mozilla::DefaultDelete<mozilla::WebGLFramebuffer::ResolvedData const> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::ImageUtils, mozilla::DefaultDelete<mozilla::dom::ImageUtils> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLContext::LocalErrorScope, mozilla::DefaultDelete<mozilla::gl::GLContext::LocalErrorScope> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::FormatUsageAuthority, mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::ShaderValidator, mozilla::DefaultDelete<mozilla::webgl::ShaderValidator> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBlob, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBlob> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBytes, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBytes> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >, mozilla::DefaultDelete<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > > >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::plugins::LaunchCompleteTask, mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask> >::operator bool() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::CurrentX11TimeGetter, mozilla::DefaultDelete<mozilla::CurrentX11TimeGetter> >::operator bool() const |
325 | | |
326 | 0 | Pointer get() const { return ptr(); } Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CanvasRenderer, mozilla::DefaultDelete<mozilla::layers::CanvasRenderer> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLScreenBuffer, mozilla::DefaultDelete<mozilla::gl::GLScreenBuffer> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::DrawBuffer, mozilla::DefaultDelete<mozilla::gl::DrawBuffer> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface, mozilla::DefaultDelete<mozilla::gl::SharedSurface> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLBlitHelper, mozilla::DefaultDelete<mozilla::gl::GLBlitHelper> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLReadTexImageHelper, mozilla::DefaultDelete<mozilla::gl::GLReadTexImageHelper> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ActiveResourceTracker, mozilla::DefaultDelete<mozilla::layers::ActiveResourceTracker> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_Basic, mozilla::DefaultDelete<mozilla::gl::SharedSurface_Basic> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerScopeWebSocketManager, mozilla::DefaultDelete<mozilla::layers::LayerScopeWebSocketManager> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::Packet, mozilla::DefaultDelete<mozilla::layers::layerscope::Packet> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::DrawSession, mozilla::DefaultDelete<mozilla::layers::DrawSession> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ContentMonitor, mozilla::DefaultDelete<mozilla::layers::ContentMonitor> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::CommandPacket, mozilla::DefaultDelete<mozilla::layers::layerscope::CommandPacket> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerPropertiesBase, mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintThread, mozilla::DefaultDelete<mozilla::layers::PaintThread> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintTask, mozilla::DefaultDelete<mozilla::layers::PaintTask> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::SharedVertexBuffer, mozilla::DefaultDelete<mozilla::layers::SharedVertexBuffer> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::SharedConstantBuffer, mozilla::DefaultDelete<mozilla::layers::SharedConstantBuffer> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::BufferCache, mozilla::DefaultDelete<mozilla::layers::BufferCache> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::GLBlitTextureImageHelper, mozilla::DefaultDelete<mozilla::layers::GLBlitTextureImageHelper> >::get() const Unexecuted instantiation: mozilla::UniquePtr<nsDisplayItemGeometry, mozilla::DefaultDelete<nsDisplayItemGeometry> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerProperties, mozilla::DefaultDelete<mozilla::layers::LayerProperties> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::WebRenderCanvasRendererAsync, mozilla::DefaultDelete<mozilla::layers::WebRenderCanvasRendererAsync> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::CrossProcessSemaphore, mozilla::DefaultDelete<mozilla::CrossProcessSemaphore> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TileExpiry, mozilla::DefaultDelete<mozilla::layers::TileExpiry> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CompositorScreenshotGrabberImpl, mozilla::DefaultDelete<mozilla::layers::CompositorScreenshotGrabberImpl> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ProfilerScreenshots, mozilla::DefaultDelete<mozilla::layers::ProfilerScreenshots> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PreparedData, mozilla::DefaultDelete<mozilla::layers::PreparedData> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::Diagnostics, mozilla::DefaultDelete<mozilla::layers::Diagnostics> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TextRenderer::FontCache, mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::ipc::Shmem, mozilla::DefaultDelete<mozilla::ipc::Shmem> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererOGL, mozilla::DefaultDelete<mozilla::wr::RendererOGL> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::WebRenderProgramCache, mozilla::DefaultDelete<mozilla::wr::WebRenderProgramCache> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositor, mozilla::DefaultDelete<mozilla::wr::RenderCompositor> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLFramebuffer::ResolvedData const, mozilla::DefaultDelete<mozilla::WebGLFramebuffer::ResolvedData const> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForShadow, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForShadow> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForFilter, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForFilter> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::ImageUtils, mozilla::DefaultDelete<mozilla::dom::ImageUtils> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::imagebitmapformat::Utils, mozilla::dom::imagebitmapformat::DoNotDelete>::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::FormatUsageAuthority, mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLContext::LocalErrorScope, mozilla::DefaultDelete<mozilla::gl::GLContext::LocalErrorScope> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const, mozilla::DefaultDelete<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::ShaderValidator, mozilla::DefaultDelete<mozilla::webgl::ShaderValidator> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBlob, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBlob> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBytes, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBytes> >::get() const Unexecuted instantiation: mozilla::UniquePtr<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >, mozilla::DefaultDelete<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > > >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::plugins::LaunchCompleteTask, mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::CurrentX11TimeGetter, mozilla::DefaultDelete<mozilla::CurrentX11TimeGetter> >::get() const Unexecuted instantiation: mozilla::UniquePtr<TestContainerLayer, mozilla::DefaultDelete<TestContainerLayer> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerUserData, mozilla::DefaultDelete<mozilla::layers::LayerUserData> >::get() const |
327 | | |
328 | 0 | DeleterType& get_deleter() { return del(); } Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_GLXDrawable, mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLXDrawable> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_GLXDrawable, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_GLXDrawable> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface, mozilla::DefaultDelete<mozilla::gl::SharedSurface> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLReadTexImageHelper, mozilla::DefaultDelete<mozilla::gl::GLReadTexImageHelper> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLScreenBuffer, mozilla::DefaultDelete<mozilla::gl::GLScreenBuffer> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLBlitHelper, mozilla::DefaultDelete<mozilla::gl::GLBlitHelper> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_Basic, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_Basic> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::DrawBuffer, mozilla::DefaultDelete<mozilla::gl::DrawBuffer> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_Basic, mozilla::DefaultDelete<mozilla::gl::SharedSurface_Basic> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_GLTexture, mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLTexture> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_EGLImage, mozilla::DefaultDelete<mozilla::gl::SharedSurface_EGLImage> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_EGLImage, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_EGLImage> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ContentMonitor, mozilla::DefaultDelete<mozilla::layers::ContentMonitor> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::DrawSession, mozilla::DefaultDelete<mozilla::layers::DrawSession> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerScopeWebSocketManager, mozilla::DefaultDelete<mozilla::layers::LayerScopeWebSocketManager> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::DebugGLData, mozilla::DefaultDelete<mozilla::layers::DebugGLData> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::Packet, mozilla::DefaultDelete<mozilla::layers::layerscope::Packet> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::CommandPacket, mozilla::DefaultDelete<mozilla::layers::layerscope::CommandPacket> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintTask, mozilla::DefaultDelete<mozilla::layers::PaintTask> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerPropertiesBase, mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ContainerLayerProperties, mozilla::DefaultDelete<mozilla::layers::ContainerLayerProperties> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ColorLayerProperties, mozilla::DefaultDelete<mozilla::layers::ColorLayerProperties> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ImageLayerProperties, mozilla::DefaultDelete<mozilla::layers::ImageLayerProperties> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CanvasLayerProperties, mozilla::DefaultDelete<mozilla::layers::CanvasLayerProperties> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerUserData, mozilla::DefaultDelete<mozilla::layers::LayerUserData> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CanvasRenderer, mozilla::DefaultDelete<mozilla::layers::CanvasRenderer> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintThread, mozilla::DefaultDelete<mozilla::layers::PaintThread> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<ScreenshotPayload, mozilla::DefaultDelete<ScreenshotPayload> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerProperties, mozilla::DefaultDelete<mozilla::layers::LayerProperties> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::GLBlitTextureImageHelper, mozilla::DefaultDelete<mozilla::layers::GLBlitTextureImageHelper> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<nsDisplayItemGeometry, mozilla::DefaultDelete<nsDisplayItemGeometry> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ActiveResourceTracker, mozilla::DefaultDelete<mozilla::layers::ActiveResourceTracker> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ScheduleObserveLayersUpdate, mozilla::DefaultDelete<mozilla::layers::ScheduleObserveLayersUpdate> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::NotificationHandler, mozilla::DefaultDelete<mozilla::wr::NotificationHandler> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::WebRenderCanvasRendererAsync, mozilla::DefaultDelete<mozilla::layers::WebRenderCanvasRendererAsync> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::CrossProcessSemaphore, mozilla::DefaultDelete<mozilla::CrossProcessSemaphore> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TileExpiry, mozilla::DefaultDelete<mozilla::layers::TileExpiry> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CompositorScreenshotGrabberImpl, mozilla::DefaultDelete<mozilla::layers::CompositorScreenshotGrabberImpl> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ProfilerScreenshots, mozilla::DefaultDelete<mozilla::layers::ProfilerScreenshots> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PreparedData, mozilla::DefaultDelete<mozilla::layers::PreparedData> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<LayerTranslationMarkerPayload, mozilla::DefaultDelete<LayerTranslationMarkerPayload> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TextRenderer::FontCache, mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::Diagnostics, mozilla::DefaultDelete<mozilla::layers::Diagnostics> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::ipc::Shmem, mozilla::DefaultDelete<mozilla::ipc::Shmem> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<VsyncMarkerPayload, mozilla::DefaultDelete<VsyncMarkerPayload> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererOGL, mozilla::DefaultDelete<mozilla::wr::RendererOGL> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositor, mozilla::DefaultDelete<mozilla::wr::RenderCompositor> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositorOGL, mozilla::DefaultDelete<mozilla::wr::RenderCompositorOGL> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::WebRenderProgramCache, mozilla::DefaultDelete<mozilla::wr::WebRenderProgramCache> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::NewRenderer, mozilla::DefaultDelete<mozilla::wr::NewRenderer> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RemoveRenderer, mozilla::DefaultDelete<mozilla::wr::RemoveRenderer> >::get_deleter() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback> >::get_deleter() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Pause()::PauseEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Pause()::PauseEvent> >::get_deleter() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent> >::get_deleter() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::FrameStartTime, mozilla::DefaultDelete<mozilla::wr::FrameStartTime> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLFramebuffer::ResolvedData const, mozilla::DefaultDelete<mozilla::WebGLFramebuffer::ResolvedData const> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForShadow, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForShadow> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForFilter, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForFilter> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::ImageUtils, mozilla::DefaultDelete<mozilla::dom::ImageUtils> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::imagebitmapformat::Utils, mozilla::dom::imagebitmapformat::DoNotDelete>::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::FormatUsageAuthority, mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLContext::LocalErrorScope, mozilla::DefaultDelete<mozilla::gl::GLContext::LocalErrorScope> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const, mozilla::DefaultDelete<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBlob, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBlob> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::ShaderValidator, mozilla::DefaultDelete<mozilla::webgl::ShaderValidator> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBytes, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBytes> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackSurface, mozilla::DefaultDelete<mozilla::webgl::TexUnpackSurface> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackImage, mozilla::DefaultDelete<mozilla::webgl::TexUnpackImage> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >, mozilla::DefaultDelete<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > > >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::plugins::LaunchCompleteTask, mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::widget::WindowSurface, mozilla::DefaultDelete<mozilla::widget::WindowSurface> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<mozilla::CurrentX11TimeGetter, mozilla::DefaultDelete<mozilla::CurrentX11TimeGetter> >::get_deleter() Unexecuted instantiation: mozilla::UniquePtr<TestContainerLayer, mozilla::DefaultDelete<TestContainerLayer> >::get_deleter() |
329 | | const DeleterType& get_deleter() const { return del(); } |
330 | | |
331 | | MOZ_MUST_USE Pointer release() |
332 | 0 | { |
333 | 0 | Pointer p = ptr(); |
334 | 0 | ptr() = nullptr; |
335 | 0 | return p; |
336 | 0 | } Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_GLXDrawable, mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLXDrawable> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_GLXDrawable, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_GLXDrawable> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface, mozilla::DefaultDelete<mozilla::gl::SharedSurface> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLScreenBuffer, mozilla::DefaultDelete<mozilla::gl::GLScreenBuffer> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLReadTexImageHelper, mozilla::DefaultDelete<mozilla::gl::GLReadTexImageHelper> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_Basic, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_Basic> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::DrawBuffer, mozilla::DefaultDelete<mozilla::gl::DrawBuffer> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_Basic, mozilla::DefaultDelete<mozilla::gl::SharedSurface_Basic> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_GLTexture, mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLTexture> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_EGLImage, mozilla::DefaultDelete<mozilla::gl::SharedSurface_EGLImage> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_EGLImage, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_EGLImage> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ContentMonitor, mozilla::DefaultDelete<mozilla::layers::ContentMonitor> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerScopeWebSocketManager, mozilla::DefaultDelete<mozilla::layers::LayerScopeWebSocketManager> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::DrawSession, mozilla::DefaultDelete<mozilla::layers::DrawSession> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::Packet, mozilla::DefaultDelete<mozilla::layers::layerscope::Packet> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::CommandPacket, mozilla::DefaultDelete<mozilla::layers::layerscope::CommandPacket> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerPropertiesBase, mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ContainerLayerProperties, mozilla::DefaultDelete<mozilla::layers::ContainerLayerProperties> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ColorLayerProperties, mozilla::DefaultDelete<mozilla::layers::ColorLayerProperties> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ImageLayerProperties, mozilla::DefaultDelete<mozilla::layers::ImageLayerProperties> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CanvasLayerProperties, mozilla::DefaultDelete<mozilla::layers::CanvasLayerProperties> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintThread, mozilla::DefaultDelete<mozilla::layers::PaintThread> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintTask, mozilla::DefaultDelete<mozilla::layers::PaintTask> >::release() Unexecuted instantiation: mozilla::UniquePtr<ScreenshotPayload, mozilla::DefaultDelete<ScreenshotPayload> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerProperties, mozilla::DefaultDelete<mozilla::layers::LayerProperties> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerUserData, mozilla::DefaultDelete<mozilla::layers::LayerUserData> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::GLBlitTextureImageHelper, mozilla::DefaultDelete<mozilla::layers::GLBlitTextureImageHelper> >::release() Unexecuted instantiation: mozilla::UniquePtr<nsDisplayItemGeometry, mozilla::DefaultDelete<nsDisplayItemGeometry> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ActiveResourceTracker, mozilla::DefaultDelete<mozilla::layers::ActiveResourceTracker> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ScheduleObserveLayersUpdate, mozilla::DefaultDelete<mozilla::layers::ScheduleObserveLayersUpdate> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::WebRenderCanvasRendererAsync, mozilla::DefaultDelete<mozilla::layers::WebRenderCanvasRendererAsync> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::NotificationHandler, mozilla::DefaultDelete<mozilla::wr::NotificationHandler> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TileExpiry, mozilla::DefaultDelete<mozilla::layers::TileExpiry> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CompositorScreenshotGrabberImpl, mozilla::DefaultDelete<mozilla::layers::CompositorScreenshotGrabberImpl> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ProfilerScreenshots, mozilla::DefaultDelete<mozilla::layers::ProfilerScreenshots> >::release() Unexecuted instantiation: mozilla::UniquePtr<LayerTranslationMarkerPayload, mozilla::DefaultDelete<LayerTranslationMarkerPayload> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PreparedData, mozilla::DefaultDelete<mozilla::layers::PreparedData> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::Diagnostics, mozilla::DefaultDelete<mozilla::layers::Diagnostics> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TextRenderer::FontCache, mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::ipc::Shmem, mozilla::DefaultDelete<mozilla::ipc::Shmem> >::release() Unexecuted instantiation: mozilla::UniquePtr<VsyncMarkerPayload, mozilla::DefaultDelete<VsyncMarkerPayload> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositor, mozilla::DefaultDelete<mozilla::wr::RenderCompositor> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositorOGL, mozilla::DefaultDelete<mozilla::wr::RenderCompositorOGL> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererOGL, mozilla::DefaultDelete<mozilla::wr::RendererOGL> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::WebRenderProgramCache, mozilla::DefaultDelete<mozilla::wr::WebRenderProgramCache> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::NewRenderer, mozilla::DefaultDelete<mozilla::wr::NewRenderer> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RemoveRenderer, mozilla::DefaultDelete<mozilla::wr::RemoveRenderer> >::release() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback> >::release() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Pause()::PauseEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Pause()::PauseEvent> >::release() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent> >::release() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::FrameStartTime, mozilla::DefaultDelete<mozilla::wr::FrameStartTime> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForShadow, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForShadow> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForFilter, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForFilter> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::imagebitmapformat::Utils, mozilla::dom::imagebitmapformat::DoNotDelete>::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::FormatUsageAuthority, mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const, mozilla::DefaultDelete<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBlob, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBlob> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackSurface, mozilla::DefaultDelete<mozilla::webgl::TexUnpackSurface> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBytes, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBytes> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackImage, mozilla::DefaultDelete<mozilla::webgl::TexUnpackImage> >::release() Unexecuted instantiation: mozilla::UniquePtr<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >, mozilla::DefaultDelete<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > > >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::plugins::LaunchCompleteTask, mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask> >::release() Unexecuted instantiation: mozilla::UniquePtr<mozilla::CurrentX11TimeGetter, mozilla::DefaultDelete<mozilla::CurrentX11TimeGetter> >::release() |
337 | | |
338 | | void reset(Pointer aPtr = Pointer()) |
339 | 0 | { |
340 | 0 | Pointer old = ptr(); |
341 | 0 | ptr() = aPtr; |
342 | 0 | if (old != nullptr) { |
343 | 0 | get_deleter()(old); |
344 | 0 | } |
345 | 0 | } Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_GLXDrawable, mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLXDrawable> >::reset(mozilla::gl::SharedSurface_GLXDrawable*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_GLXDrawable, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_GLXDrawable> >::reset(mozilla::gl::SurfaceFactory_GLXDrawable*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface, mozilla::DefaultDelete<mozilla::gl::SharedSurface> >::reset(mozilla::gl::SharedSurface*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLReadTexImageHelper, mozilla::DefaultDelete<mozilla::gl::GLReadTexImageHelper> >::reset(mozilla::gl::GLReadTexImageHelper*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLBlitHelper, mozilla::DefaultDelete<mozilla::gl::GLBlitHelper> >::reset(mozilla::gl::GLBlitHelper*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_Basic, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_Basic> >::reset(mozilla::gl::SurfaceFactory_Basic*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory> >::reset(mozilla::gl::SurfaceFactory*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLScreenBuffer, mozilla::DefaultDelete<mozilla::gl::GLScreenBuffer> >::reset(mozilla::gl::GLScreenBuffer*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::DrawBuffer, mozilla::DefaultDelete<mozilla::gl::DrawBuffer> >::reset(mozilla::gl::DrawBuffer*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::ReadBuffer, mozilla::DefaultDelete<mozilla::gl::ReadBuffer> >::reset(mozilla::gl::ReadBuffer*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_Basic, mozilla::DefaultDelete<mozilla::gl::SharedSurface_Basic> >::reset(mozilla::gl::SharedSurface_Basic*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_GLTexture, mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLTexture> >::reset(mozilla::gl::SharedSurface_GLTexture*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SharedSurface_EGLImage, mozilla::DefaultDelete<mozilla::gl::SharedSurface_EGLImage> >::reset(mozilla::gl::SharedSurface_EGLImage*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::MozFramebuffer, mozilla::DefaultDelete<mozilla::gl::MozFramebuffer> >::reset(mozilla::gl::MozFramebuffer*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::SurfaceFactory_EGLImage, mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_EGLImage> >::reset(mozilla::gl::SurfaceFactory_EGLImage*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ContentMonitor, mozilla::DefaultDelete<mozilla::layers::ContentMonitor> >::reset(mozilla::layers::ContentMonitor*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::DrawSession, mozilla::DefaultDelete<mozilla::layers::DrawSession> >::reset(mozilla::layers::DrawSession*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerScopeWebSocketManager, mozilla::DefaultDelete<mozilla::layers::LayerScopeWebSocketManager> >::reset(mozilla::layers::LayerScopeWebSocketManager*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::DebugGLData, mozilla::DefaultDelete<mozilla::layers::DebugGLData> >::reset(mozilla::layers::DebugGLData*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::Packet, mozilla::DefaultDelete<mozilla::layers::layerscope::Packet> >::reset(mozilla::layers::layerscope::Packet*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::layerscope::CommandPacket, mozilla::DefaultDelete<mozilla::layers::layerscope::CommandPacket> >::reset(mozilla::layers::layerscope::CommandPacket*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintTask, mozilla::DefaultDelete<mozilla::layers::PaintTask> >::reset(mozilla::layers::PaintTask*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerPropertiesBase, mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase> >::reset(mozilla::layers::LayerPropertiesBase*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ContainerLayerProperties, mozilla::DefaultDelete<mozilla::layers::ContainerLayerProperties> >::reset(mozilla::layers::ContainerLayerProperties*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ColorLayerProperties, mozilla::DefaultDelete<mozilla::layers::ColorLayerProperties> >::reset(mozilla::layers::ColorLayerProperties*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ImageLayerProperties, mozilla::DefaultDelete<mozilla::layers::ImageLayerProperties> >::reset(mozilla::layers::ImageLayerProperties*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CanvasLayerProperties, mozilla::DefaultDelete<mozilla::layers::CanvasLayerProperties> >::reset(mozilla::layers::CanvasLayerProperties*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerUserData, mozilla::DefaultDelete<mozilla::layers::LayerUserData> >::reset(mozilla::layers::LayerUserData*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CanvasRenderer, mozilla::DefaultDelete<mozilla::layers::CanvasRenderer> >::reset(mozilla::layers::CanvasRenderer*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PaintThread, mozilla::DefaultDelete<mozilla::layers::PaintThread> >::reset(mozilla::layers::PaintThread*) Unexecuted instantiation: mozilla::UniquePtr<ScreenshotPayload, mozilla::DefaultDelete<ScreenshotPayload> >::reset(ScreenshotPayload*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::LayerProperties, mozilla::DefaultDelete<mozilla::layers::LayerProperties> >::reset(mozilla::layers::LayerProperties*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::GLBlitTextureImageHelper, mozilla::DefaultDelete<mozilla::layers::GLBlitTextureImageHelper> >::reset(mozilla::layers::GLBlitTextureImageHelper*) Unexecuted instantiation: mozilla::UniquePtr<nsDisplayItemGeometry, mozilla::DefaultDelete<nsDisplayItemGeometry> >::reset(nsDisplayItemGeometry*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ActiveResourceTracker, mozilla::DefaultDelete<mozilla::layers::ActiveResourceTracker> >::reset(mozilla::layers::ActiveResourceTracker*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ScheduleObserveLayersUpdate, mozilla::DefaultDelete<mozilla::layers::ScheduleObserveLayersUpdate> >::reset(mozilla::layers::ScheduleObserveLayersUpdate*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::NotificationHandler, mozilla::DefaultDelete<mozilla::wr::NotificationHandler> >::reset(mozilla::wr::NotificationHandler*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::WebRenderCanvasRendererAsync, mozilla::DefaultDelete<mozilla::layers::WebRenderCanvasRendererAsync> >::reset(mozilla::layers::WebRenderCanvasRendererAsync*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::CrossProcessSemaphore, mozilla::DefaultDelete<mozilla::CrossProcessSemaphore> >::reset(mozilla::CrossProcessSemaphore*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TileExpiry, mozilla::DefaultDelete<mozilla::layers::TileExpiry> >::reset(mozilla::layers::TileExpiry*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::CompositorScreenshotGrabberImpl, mozilla::DefaultDelete<mozilla::layers::CompositorScreenshotGrabberImpl> >::reset(mozilla::layers::CompositorScreenshotGrabberImpl*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::ProfilerScreenshots, mozilla::DefaultDelete<mozilla::layers::ProfilerScreenshots> >::reset(mozilla::layers::ProfilerScreenshots*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::PreparedData, mozilla::DefaultDelete<mozilla::layers::PreparedData> >::reset(mozilla::layers::PreparedData*) Unexecuted instantiation: mozilla::UniquePtr<LayerTranslationMarkerPayload, mozilla::DefaultDelete<LayerTranslationMarkerPayload> >::reset(LayerTranslationMarkerPayload*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::TextRenderer::FontCache, mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache> >::reset(mozilla::layers::TextRenderer::FontCache*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::layers::Diagnostics, mozilla::DefaultDelete<mozilla::layers::Diagnostics> >::reset(mozilla::layers::Diagnostics*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::ipc::Shmem, mozilla::DefaultDelete<mozilla::ipc::Shmem> >::reset(mozilla::ipc::Shmem*) Unexecuted instantiation: mozilla::UniquePtr<VsyncMarkerPayload, mozilla::DefaultDelete<VsyncMarkerPayload> >::reset(VsyncMarkerPayload*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererOGL, mozilla::DefaultDelete<mozilla::wr::RendererOGL> >::reset(mozilla::wr::RendererOGL*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositor, mozilla::DefaultDelete<mozilla::wr::RenderCompositor> >::reset(mozilla::wr::RenderCompositor*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RenderCompositorOGL, mozilla::DefaultDelete<mozilla::wr::RenderCompositorOGL> >::reset(mozilla::wr::RenderCompositorOGL*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::WebRenderProgramCache, mozilla::DefaultDelete<mozilla::wr::WebRenderProgramCache> >::reset(mozilla::wr::WebRenderProgramCache*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RendererEvent, mozilla::DefaultDelete<mozilla::wr::RendererEvent> >::reset(mozilla::wr::RendererEvent*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::NewRenderer, mozilla::DefaultDelete<mozilla::wr::NewRenderer> >::reset(mozilla::wr::NewRenderer*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::RemoveRenderer, mozilla::DefaultDelete<mozilla::wr::RemoveRenderer> >::reset(mozilla::wr::RemoveRenderer*) Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback> >::reset(mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback*) Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Pause()::PauseEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Pause()::PauseEvent> >::reset(mozilla::wr::WebRenderAPI::Pause()::PauseEvent*) Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent> >::reset(mozilla::wr::WebRenderAPI::Resume()::ResumeEvent*) Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::UniquePtr<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent, mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent> >::reset(mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::wr::FrameStartTime, mozilla::DefaultDelete<mozilla::wr::FrameStartTime> >::reset(mozilla::wr::FrameStartTime*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLFramebuffer::ResolvedData const, mozilla::DefaultDelete<mozilla::WebGLFramebuffer::ResolvedData const> >::reset(mozilla::WebGLFramebuffer::ResolvedData const*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForShadow, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForShadow> >::reset(mozilla::dom::AdjustedTargetForShadow*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::AdjustedTargetForFilter, mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForFilter> >::reset(mozilla::dom::AdjustedTargetForFilter*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::ImageUtils, mozilla::DefaultDelete<mozilla::dom::ImageUtils> >::reset(mozilla::dom::ImageUtils*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::dom::imagebitmapformat::Utils, mozilla::dom::imagebitmapformat::DoNotDelete>::reset(mozilla::dom::imagebitmapformat::Utils*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::FormatUsageAuthority, mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority> >::reset(mozilla::webgl::FormatUsageAuthority*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::WebGLContext::FakeBlackTexture, mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture> >::reset(mozilla::WebGLContext::FakeBlackTexture*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gl::GLContext::LocalErrorScope, mozilla::DefaultDelete<mozilla::gl::GLContext::LocalErrorScope> >::reset(mozilla::gl::GLContext::LocalErrorScope*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const, mozilla::DefaultDelete<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const> >::reset(mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::ShaderValidator, mozilla::DefaultDelete<mozilla::webgl::ShaderValidator> >::reset(mozilla::webgl::ShaderValidator*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBytes, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBytes> >::reset(mozilla::webgl::TexUnpackBytes*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackBlob, mozilla::DefaultDelete<mozilla::webgl::TexUnpackBlob> >::reset(mozilla::webgl::TexUnpackBlob*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackSurface, mozilla::DefaultDelete<mozilla::webgl::TexUnpackSurface> >::reset(mozilla::webgl::TexUnpackSurface*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::webgl::TexUnpackImage, mozilla::DefaultDelete<mozilla::webgl::TexUnpackImage> >::reset(mozilla::webgl::TexUnpackImage*) Unexecuted instantiation: mozilla::UniquePtr<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >, mozilla::DefaultDelete<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > > >::reset(JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::plugins::LaunchCompleteTask, mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask> >::reset(mozilla::plugins::LaunchCompleteTask*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::widget::WindowSurface, mozilla::DefaultDelete<mozilla::widget::WindowSurface> >::reset(mozilla::widget::WindowSurface*) Unexecuted instantiation: mozilla::UniquePtr<mozilla::CurrentX11TimeGetter, mozilla::DefaultDelete<mozilla::CurrentX11TimeGetter> >::reset(mozilla::CurrentX11TimeGetter*) Unexecuted instantiation: mozilla::UniquePtr<TestContainerLayer, mozilla::DefaultDelete<TestContainerLayer> >::reset(TestContainerLayer*) |
346 | | |
347 | | void swap(UniquePtr& aOther) |
348 | | { |
349 | | mTuple.swap(aOther.mTuple); |
350 | | } |
351 | | |
352 | | UniquePtr(const UniquePtr& aOther) = delete; // construct using std::move()! |
353 | | void operator=(const UniquePtr& aOther) = delete; // assign using std::move()! |
354 | | }; |
355 | | |
356 | | // In case you didn't read the comment by the main definition (you should!): the |
357 | | // UniquePtr<T[]> specialization exists to manage array pointers. It deletes |
358 | | // such pointers using delete[], it will reject construction and modification |
359 | | // attempts using U* or U[]. Otherwise it works like the normal UniquePtr. |
360 | | template<typename T, class D> |
361 | | class UniquePtr<T[], D> |
362 | | { |
363 | | public: |
364 | | typedef T* Pointer; |
365 | | typedef T ElementType; |
366 | | typedef D DeleterType; |
367 | | |
368 | | private: |
369 | | Pair<Pointer, DeleterType> mTuple; |
370 | | |
371 | | public: |
372 | | /** |
373 | | * Construct a UniquePtr containing nullptr. |
374 | | */ |
375 | | constexpr UniquePtr() |
376 | | : mTuple(static_cast<Pointer>(nullptr), DeleterType()) |
377 | 0 | { |
378 | 0 | static_assert(!IsPointer<D>::value, "must provide a deleter instance"); |
379 | 0 | static_assert(!IsReference<D>::value, "must provide a deleter instance"); |
380 | 0 | } Unexecuted instantiation: mozilla::UniquePtr<mozilla::gfx::FontVariation [], mozilla::DefaultDelete<mozilla::gfx::FontVariation []> >::UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<unsigned int [], mozilla::DefaultDelete<unsigned int []> >::UniquePtr() |
381 | | |
382 | | /** |
383 | | * Construct a UniquePtr containing |aPtr|. |
384 | | */ |
385 | | explicit UniquePtr(Pointer aPtr) |
386 | | : mTuple(aPtr, DeleterType()) |
387 | 0 | { |
388 | 0 | static_assert(!IsPointer<D>::value, "must provide a deleter instance"); |
389 | 0 | static_assert(!IsReference<D>::value, "must provide a deleter instance"); |
390 | 0 | } Unexecuted instantiation: mozilla::UniquePtr<float [], mozilla::DefaultDelete<float []> >::UniquePtr(float*) Unexecuted instantiation: mozilla::UniquePtr<int [], mozilla::DefaultDelete<int []> >::UniquePtr(int*) |
391 | | |
392 | | // delete[] knows how to handle *only* an array of a single class type. For |
393 | | // delete[] to work correctly, it must know the size of each element, the |
394 | | // fields and base classes of each element requiring destruction, and so on. |
395 | | // So forbid all overloads which would end up invoking delete[] on a pointer |
396 | | // of the wrong type. |
397 | | template<typename U> |
398 | | UniquePtr(U&& aU, |
399 | | typename EnableIf<IsPointer<U>::value && |
400 | | IsConvertible<U, Pointer>::value, |
401 | | int>::Type aDummy = 0) |
402 | | = delete; |
403 | | |
404 | | UniquePtr(Pointer aPtr, |
405 | | typename Conditional<IsReference<D>::value, |
406 | | D, |
407 | | const D&>::Type aD1) |
408 | | : mTuple(aPtr, aD1) |
409 | | {} |
410 | | |
411 | | // If you encounter an error with MSVC10 about RemoveReference below, along |
412 | | // the lines that "more than one partial specialization matches the template |
413 | | // argument list": don't use UniquePtr<T[], reference to function>! See the |
414 | | // comment by this constructor in the non-T[] specialization above. |
415 | | UniquePtr(Pointer aPtr, |
416 | | typename RemoveReference<D>::Type&& aD2) |
417 | | : mTuple(aPtr, std::move(aD2)) |
418 | | { |
419 | | static_assert(!IsReference<D>::value, |
420 | | "rvalue deleter can't be stored by reference"); |
421 | | } |
422 | | |
423 | | // Forbidden for the same reasons as stated above. |
424 | | template<typename U, typename V> |
425 | | UniquePtr(U&& aU, V&& aV, |
426 | | typename EnableIf<IsPointer<U>::value && |
427 | | IsConvertible<U, Pointer>::value, |
428 | | int>::Type aDummy = 0) |
429 | | = delete; |
430 | | |
431 | | UniquePtr(UniquePtr&& aOther) |
432 | | : mTuple(aOther.release(), std::forward<DeleterType>(aOther.get_deleter())) |
433 | | {} |
434 | | |
435 | | MOZ_IMPLICIT |
436 | | UniquePtr(decltype(nullptr)) |
437 | | : mTuple(nullptr, DeleterType()) |
438 | | { |
439 | | static_assert(!IsPointer<D>::value, "must provide a deleter instance"); |
440 | | static_assert(!IsReference<D>::value, "must provide a deleter instance"); |
441 | | } |
442 | | |
443 | 0 | ~UniquePtr() { reset(nullptr); } Unexecuted instantiation: mozilla::UniquePtr<float [], mozilla::DefaultDelete<float []> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<mozilla::gfx::FontVariation [], mozilla::DefaultDelete<mozilla::gfx::FontVariation []> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<int [], mozilla::DefaultDelete<int []> >::~UniquePtr() Unexecuted instantiation: mozilla::UniquePtr<unsigned int [], mozilla::DefaultDelete<unsigned int []> >::~UniquePtr() |
444 | | |
445 | | UniquePtr& operator=(UniquePtr&& aOther) |
446 | | { |
447 | | reset(aOther.release()); |
448 | | get_deleter() = std::forward<DeleterType>(aOther.get_deleter()); |
449 | | return *this; |
450 | | } |
451 | | |
452 | | UniquePtr& operator=(decltype(nullptr)) |
453 | | { |
454 | | reset(); |
455 | | return *this; |
456 | | } |
457 | | |
458 | 0 | explicit operator bool() const { return get() != nullptr; } |
459 | | |
460 | 0 | T& operator[](decltype(sizeof(int)) aIndex) const { return get()[aIndex]; } Unexecuted instantiation: mozilla::UniquePtr<int [], mozilla::DefaultDelete<int []> >::operator[](unsigned long) const Unexecuted instantiation: mozilla::UniquePtr<unsigned int [], mozilla::DefaultDelete<unsigned int []> >::operator[](unsigned long) const |
461 | 0 | Pointer get() const { return mTuple.first(); } Unexecuted instantiation: mozilla::UniquePtr<float [], mozilla::DefaultDelete<float []> >::get() const Unexecuted instantiation: mozilla::UniquePtr<mozilla::gfx::FontVariation [], mozilla::DefaultDelete<mozilla::gfx::FontVariation []> >::get() const Unexecuted instantiation: mozilla::UniquePtr<int [], mozilla::DefaultDelete<int []> >::get() const Unexecuted instantiation: mozilla::UniquePtr<unsigned int [], mozilla::DefaultDelete<unsigned int []> >::get() const |
462 | | |
463 | | DeleterType& get_deleter() { return mTuple.second(); } |
464 | | const DeleterType& get_deleter() const { return mTuple.second(); } |
465 | | |
466 | | MOZ_MUST_USE Pointer release() |
467 | | { |
468 | | Pointer p = mTuple.first(); |
469 | | mTuple.first() = nullptr; |
470 | | return p; |
471 | | } |
472 | | |
473 | | void reset(Pointer aPtr = Pointer()) |
474 | 0 | { |
475 | 0 | Pointer old = mTuple.first(); |
476 | 0 | mTuple.first() = aPtr; |
477 | 0 | if (old != nullptr) { |
478 | 0 | mTuple.second()(old); |
479 | 0 | } |
480 | 0 | } Unexecuted instantiation: mozilla::UniquePtr<mozilla::gfx::FontVariation [], mozilla::DefaultDelete<mozilla::gfx::FontVariation []> >::reset(mozilla::gfx::FontVariation*) Unexecuted instantiation: mozilla::UniquePtr<unsigned int [], mozilla::DefaultDelete<unsigned int []> >::reset(unsigned int*) |
481 | | |
482 | | void reset(decltype(nullptr)) |
483 | 0 | { |
484 | 0 | Pointer old = mTuple.first(); |
485 | 0 | mTuple.first() = nullptr; |
486 | 0 | if (old != nullptr) { |
487 | 0 | mTuple.second()(old); |
488 | 0 | } |
489 | 0 | } Unexecuted instantiation: mozilla::UniquePtr<float [], mozilla::DefaultDelete<float []> >::reset(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<mozilla::gfx::FontVariation [], mozilla::DefaultDelete<mozilla::gfx::FontVariation []> >::reset(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<int [], mozilla::DefaultDelete<int []> >::reset(decltype(nullptr)) Unexecuted instantiation: mozilla::UniquePtr<unsigned int [], mozilla::DefaultDelete<unsigned int []> >::reset(decltype(nullptr)) |
490 | | |
491 | | template<typename U> |
492 | | void reset(U) = delete; |
493 | | |
494 | | void swap(UniquePtr& aOther) { mTuple.swap(aOther.mTuple); } |
495 | | |
496 | | UniquePtr(const UniquePtr& aOther) = delete; // construct using std::move()! |
497 | | void operator=(const UniquePtr& aOther) = delete; // assign using std::move()! |
498 | | }; |
499 | | |
500 | | /** |
501 | | * A default deletion policy using plain old operator delete. |
502 | | * |
503 | | * Note that this type can be specialized, but authors should beware of the risk |
504 | | * that the specialization may at some point cease to match (either because it |
505 | | * gets moved to a different compilation unit or the signature changes). If the |
506 | | * non-specialized (|delete|-based) version compiles for that type but does the |
507 | | * wrong thing, bad things could happen. |
508 | | * |
509 | | * This is a non-issue for types which are always incomplete (i.e. opaque handle |
510 | | * types), since |delete|-ing such a type will always trigger a compilation |
511 | | * error. |
512 | | */ |
513 | | template<typename T> |
514 | | class DefaultDelete |
515 | | { |
516 | | public: |
517 | 15 | constexpr DefaultDelete() {} Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLXDrawable>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_GLXDrawable>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::GLBlitHelper>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::GLReadTexImageHelper>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::GLScreenBuffer>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::DrawBuffer>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::ReadBuffer>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_Basic>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SurfaceFactory>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SharedSurface_Basic>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SharedSurface_EGLImage>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_EGLImage>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLTexture>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::MozFramebuffer>::DefaultDelete() mozilla::DefaultDelete<mozilla::layers::LayerScopeWebSocketManager>::DefaultDelete() Line | Count | Source | 517 | 3 | constexpr DefaultDelete() {} |
mozilla::DefaultDelete<mozilla::layers::DrawSession>::DefaultDelete() Line | Count | Source | 517 | 3 | constexpr DefaultDelete() {} |
mozilla::DefaultDelete<mozilla::layers::ContentMonitor>::DefaultDelete() Line | Count | Source | 517 | 3 | constexpr DefaultDelete() {} |
Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::DebugGLData>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SharedSurface>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::layerscope::Packet>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::layerscope::CommandPacket>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::CanvasRenderer>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::ContainerLayerProperties>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::ColorLayerProperties>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::ImageLayerProperties>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::CanvasLayerProperties>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::LayerUserData>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::PaintThread>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<ScreenshotPayload>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::GLBlitTextureImageHelper>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::ActiveResourceTracker>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<nsDisplayItemGeometry>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::LayerProperties>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::WebRenderCanvasRendererAsync>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::ScheduleObserveLayersUpdate>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::PaintTask>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::CrossProcessSemaphore>::DefaultDelete() mozilla::DefaultDelete<mozilla::layers::TileExpiry>::DefaultDelete() Line | Count | Source | 517 | 3 | constexpr DefaultDelete() {} |
Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::CompositorScreenshotGrabberImpl>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::ProfilerScreenshots>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::PreparedData>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<LayerTranslationMarkerPayload>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::Diagnostics>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::ipc::Shmem>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<VsyncMarkerPayload>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::wr::WebRenderProgramCache>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::wr::RenderCompositor>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::wr::RenderCompositorOGL>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::wr::RendererOGL>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::wr::RendererEvent>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::wr::NewRenderer>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::wr::RemoveRenderer>::DefaultDelete() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback>::DefaultDelete() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Pause()::PauseEvent>::DefaultDelete() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent>::DefaultDelete() Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::wr::FrameStartTime>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForShadow>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForFilter>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::dom::ImageUtils>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::dom::ImageBitmapCloneData>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::GLContext::LocalErrorScope>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::WebGLFramebuffer::ResolvedData const>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::webgl::ShaderValidator>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::webgl::TexUnpackBytes>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::webgl::TexUnpackSurface>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::webgl::TexUnpackBlob>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::webgl::TexUnpackImage>::DefaultDelete() mozilla::DefaultDelete<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > >::DefaultDelete() Line | Count | Source | 517 | 3 | constexpr DefaultDelete() {} |
Unexecuted instantiation: mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::CurrentX11TimeGetter>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<TestContainerLayer>::DefaultDelete() |
518 | | |
519 | | template<typename U> |
520 | | MOZ_IMPLICIT DefaultDelete(const DefaultDelete<U>& aOther, |
521 | | typename EnableIf<mozilla::IsConvertible<U*, T*>::value, |
522 | | int>::Type aDummy = 0) |
523 | 0 | {} Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_2gl13SharedSurfaceEEC2INS1_25SharedSurface_GLXDrawableEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS6_PS2_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_2gl14SurfaceFactoryEEC2INS1_20SurfaceFactory_BasicEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS6_PS2_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_2gl14SurfaceFactoryEEC2INS1_26SurfaceFactory_GLXDrawableEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS6_PS2_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_2gl13SharedSurfaceEEC2INS1_22SharedSurface_EGLImageEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS6_PS2_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_2gl13SharedSurfaceEEC2INS1_19SharedSurface_BasicEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS6_PS2_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_6layers19LayerPropertiesBaseEEC2INS1_24ContainerLayerPropertiesEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS6_PS2_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_6layers19LayerPropertiesBaseEEC2INS1_20ColorLayerPropertiesEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS6_PS2_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_6layers19LayerPropertiesBaseEEC2INS1_20ImageLayerPropertiesEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS6_PS2_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_6layers19LayerPropertiesBaseEEC2INS1_21CanvasLayerPropertiesEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS6_PS2_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_6layers15LayerPropertiesEEC2INS1_19LayerPropertiesBaseEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS6_PS2_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteI21ProfilerMarkerPayloadEC2I17ScreenshotPayloadEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS5_PS1_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_2wr19NotificationHandlerEEC2INS_6layers27ScheduleObserveLayersUpdateEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS7_PS2_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteI21ProfilerMarkerPayloadEC2I29LayerTranslationMarkerPayloadEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS5_PS1_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteI21ProfilerMarkerPayloadEC2I18VsyncMarkerPayloadEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS5_PS1_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_2wr16RenderCompositorEEC2INS1_19RenderCompositorOGLEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS6_PS2_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_2wr13RendererEventEEC2INS1_11NewRendererEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS6_PS2_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_2wr13RendererEventEEC2INS1_14RemoveRendererEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS6_PS2_EE5valueEiE4TypeE Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:_ZN7mozilla13DefaultDeleteINS_2wr13RendererEventEEC2IZNS1_12WebRenderAPI8ReadbackERKNS_9TimeStampENS_3gfx12IntSizeTypedINS9_12UnknownUnitsEEEPhjE8ReadbackEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPSF_PS2_EE5valueEiE4TypeE Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:_ZN7mozilla13DefaultDeleteINS_2wr13RendererEventEEC2IZNS1_12WebRenderAPI5PauseEvE10PauseEventEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS7_PS2_EE5valueEiE4TypeE Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:_ZN7mozilla13DefaultDeleteINS_2wr13RendererEventEEC2IZNS1_12WebRenderAPI6ResumeEvE11ResumeEventEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS7_PS2_EE5valueEiE4TypeE Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:_ZN7mozilla13DefaultDeleteINS_2wr13RendererEventEEC2IZNS1_12WebRenderAPI11WaitFlushedEvE16WaitFlushedEventEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS7_PS2_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_2wr13RendererEventEEC2INS1_14FrameStartTimeEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS6_PS2_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_5webgl13TexUnpackBlobEEC2INS1_16TexUnpackSurfaceEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS6_PS2_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_5webgl13TexUnpackBlobEEC2INS1_14TexUnpackBytesEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS6_PS2_EE5valueEiE4TypeE Unexecuted instantiation: _ZN7mozilla13DefaultDeleteINS_5webgl13TexUnpackBlobEEC2INS1_14TexUnpackImageEEERKNS0_IT_EENS_8EnableIfIXsr7mozilla13IsConvertibleIPS6_PS2_EE5valueEiE4TypeE |
524 | | |
525 | | void operator()(T* aPtr) const |
526 | 0 | { |
527 | 0 | static_assert(sizeof(T) > 0, "T must be complete"); |
528 | 0 | delete aPtr; |
529 | 0 | } Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLXDrawable>::operator()(mozilla::gl::SharedSurface_GLXDrawable*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_GLXDrawable>::operator()(mozilla::gl::SurfaceFactory_GLXDrawable*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SharedSurface>::operator()(mozilla::gl::SharedSurface*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::GLReadTexImageHelper>::operator()(mozilla::gl::GLReadTexImageHelper*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::GLBlitHelper>::operator()(mozilla::gl::GLBlitHelper*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_Basic>::operator()(mozilla::gl::SurfaceFactory_Basic*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SurfaceFactory>::operator()(mozilla::gl::SurfaceFactory*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::GLScreenBuffer>::operator()(mozilla::gl::GLScreenBuffer*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::DrawBuffer>::operator()(mozilla::gl::DrawBuffer*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::ReadBuffer>::operator()(mozilla::gl::ReadBuffer*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SharedSurface_Basic>::operator()(mozilla::gl::SharedSurface_Basic*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SharedSurface_GLTexture>::operator()(mozilla::gl::SharedSurface_GLTexture*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SharedSurface_EGLImage>::operator()(mozilla::gl::SharedSurface_EGLImage*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::MozFramebuffer>::operator()(mozilla::gl::MozFramebuffer*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::SurfaceFactory_EGLImage>::operator()(mozilla::gl::SurfaceFactory_EGLImage*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::ContentMonitor>::operator()(mozilla::layers::ContentMonitor*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::DrawSession>::operator()(mozilla::layers::DrawSession*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::LayerScopeWebSocketManager>::operator()(mozilla::layers::LayerScopeWebSocketManager*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::DebugGLData>::operator()(mozilla::layers::DebugGLData*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::layerscope::Packet>::operator()(mozilla::layers::layerscope::Packet*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::layerscope::CommandPacket>::operator()(mozilla::layers::layerscope::CommandPacket*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::PaintTask>::operator()(mozilla::layers::PaintTask*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::LayerPropertiesBase>::operator()(mozilla::layers::LayerPropertiesBase*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::ContainerLayerProperties>::operator()(mozilla::layers::ContainerLayerProperties*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::ColorLayerProperties>::operator()(mozilla::layers::ColorLayerProperties*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::ImageLayerProperties>::operator()(mozilla::layers::ImageLayerProperties*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::CanvasLayerProperties>::operator()(mozilla::layers::CanvasLayerProperties*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::LayerUserData>::operator()(mozilla::layers::LayerUserData*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::CanvasRenderer>::operator()(mozilla::layers::CanvasRenderer*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::PaintThread>::operator()(mozilla::layers::PaintThread*) const Unexecuted instantiation: mozilla::DefaultDelete<ScreenshotPayload>::operator()(ScreenshotPayload*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::LayerProperties>::operator()(mozilla::layers::LayerProperties*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::GLBlitTextureImageHelper>::operator()(mozilla::layers::GLBlitTextureImageHelper*) const Unexecuted instantiation: mozilla::DefaultDelete<nsDisplayItemGeometry>::operator()(nsDisplayItemGeometry*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::ActiveResourceTracker>::operator()(mozilla::layers::ActiveResourceTracker*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::ScheduleObserveLayersUpdate>::operator()(mozilla::layers::ScheduleObserveLayersUpdate*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::wr::NotificationHandler>::operator()(mozilla::wr::NotificationHandler*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::WebRenderCanvasRendererAsync>::operator()(mozilla::layers::WebRenderCanvasRendererAsync*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::CrossProcessSemaphore>::operator()(mozilla::CrossProcessSemaphore*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::TileExpiry>::operator()(mozilla::layers::TileExpiry*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::CompositorScreenshotGrabberImpl>::operator()(mozilla::layers::CompositorScreenshotGrabberImpl*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::ProfilerScreenshots>::operator()(mozilla::layers::ProfilerScreenshots*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::PreparedData>::operator()(mozilla::layers::PreparedData*) const Unexecuted instantiation: mozilla::DefaultDelete<LayerTranslationMarkerPayload>::operator()(LayerTranslationMarkerPayload*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache>::operator()(mozilla::layers::TextRenderer::FontCache*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::layers::Diagnostics>::operator()(mozilla::layers::Diagnostics*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::ipc::Shmem>::operator()(mozilla::ipc::Shmem*) const Unexecuted instantiation: mozilla::DefaultDelete<VsyncMarkerPayload>::operator()(VsyncMarkerPayload*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::wr::RendererOGL>::operator()(mozilla::wr::RendererOGL*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::wr::RenderCompositor>::operator()(mozilla::wr::RenderCompositor*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::wr::RenderCompositorOGL>::operator()(mozilla::wr::RenderCompositorOGL*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::wr::WebRenderProgramCache>::operator()(mozilla::wr::WebRenderProgramCache*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::wr::RendererEvent>::operator()(mozilla::wr::RendererEvent*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::wr::NewRenderer>::operator()(mozilla::wr::NewRenderer*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::wr::RemoveRenderer>::operator()(mozilla::wr::RemoveRenderer*) const Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback>::operator()(mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback*) const Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Pause()::PauseEvent>::operator()(mozilla::wr::WebRenderAPI::Pause()::PauseEvent*) const Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent>::operator()(mozilla::wr::WebRenderAPI::Resume()::ResumeEvent*) const Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::DefaultDelete<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent>::operator()(mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::wr::FrameStartTime>::operator()(mozilla::wr::FrameStartTime*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::WebGLFramebuffer::ResolvedData const>::operator()(mozilla::WebGLFramebuffer::ResolvedData const*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForShadow>::operator()(mozilla::dom::AdjustedTargetForShadow*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::dom::AdjustedTargetForFilter>::operator()(mozilla::dom::AdjustedTargetForFilter*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::dom::ImageUtils>::operator()(mozilla::dom::ImageUtils*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::webgl::FormatUsageAuthority>::operator()(mozilla::webgl::FormatUsageAuthority*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::WebGLContext::FakeBlackTexture>::operator()(mozilla::WebGLContext::FakeBlackTexture*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gl::GLContext::LocalErrorScope>::operator()(mozilla::gl::GLContext::LocalErrorScope*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const>::operator()(mozilla::CacheMap<mozilla::WebGLVertexArray const*, mozilla::webgl::CachedDrawFetchLimits>::Entry const*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::webgl::ShaderValidator>::operator()(mozilla::webgl::ShaderValidator*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::webgl::TexUnpackBytes>::operator()(mozilla::webgl::TexUnpackBytes*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::webgl::TexUnpackBlob>::operator()(mozilla::webgl::TexUnpackBlob*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::webgl::TexUnpackSurface>::operator()(mozilla::webgl::TexUnpackSurface*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::webgl::TexUnpackImage>::operator()(mozilla::webgl::TexUnpackImage*) const Unexecuted instantiation: mozilla::DefaultDelete<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > >::operator()(JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::plugins::LaunchCompleteTask>::operator()(mozilla::plugins::LaunchCompleteTask*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::widget::WindowSurface>::operator()(mozilla::widget::WindowSurface*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::CurrentX11TimeGetter>::operator()(mozilla::CurrentX11TimeGetter*) const Unexecuted instantiation: mozilla::DefaultDelete<TestContainerLayer>::operator()(TestContainerLayer*) const |
530 | | }; |
531 | | |
532 | | /** A default deletion policy using operator delete[]. */ |
533 | | template<typename T> |
534 | | class DefaultDelete<T[]> |
535 | | { |
536 | | public: |
537 | 0 | constexpr DefaultDelete() {} Unexecuted instantiation: mozilla::DefaultDelete<float []>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gfx::FontVariation []>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<unsigned int []>::DefaultDelete() Unexecuted instantiation: mozilla::DefaultDelete<int []>::DefaultDelete() |
538 | | |
539 | | void operator()(T* aPtr) const |
540 | 0 | { |
541 | 0 | static_assert(sizeof(T) > 0, "T must be complete"); |
542 | 0 | delete[] aPtr; |
543 | 0 | } Unexecuted instantiation: mozilla::DefaultDelete<float []>::operator()(float*) const Unexecuted instantiation: mozilla::DefaultDelete<mozilla::gfx::FontVariation []>::operator()(mozilla::gfx::FontVariation*) const Unexecuted instantiation: mozilla::DefaultDelete<int []>::operator()(int*) const Unexecuted instantiation: mozilla::DefaultDelete<unsigned int []>::operator()(unsigned int*) const |
544 | | |
545 | | template<typename U> |
546 | | void operator()(U* aPtr) const = delete; |
547 | | }; |
548 | | |
549 | | template<typename T, class D> |
550 | | void |
551 | | Swap(UniquePtr<T, D>& aX, UniquePtr<T, D>& aY) |
552 | | { |
553 | | aX.swap(aY); |
554 | | } |
555 | | |
556 | | template<typename T, class D, typename U, class E> |
557 | | bool |
558 | | operator==(const UniquePtr<T, D>& aX, const UniquePtr<U, E>& aY) |
559 | | { |
560 | | return aX.get() == aY.get(); |
561 | | } |
562 | | |
563 | | template<typename T, class D, typename U, class E> |
564 | | bool |
565 | | operator!=(const UniquePtr<T, D>& aX, const UniquePtr<U, E>& aY) |
566 | | { |
567 | | return aX.get() != aY.get(); |
568 | | } |
569 | | |
570 | | template<typename T, class D> |
571 | | bool |
572 | | operator==(const UniquePtr<T, D>& aX, decltype(nullptr)) |
573 | | { |
574 | | return !aX; |
575 | | } |
576 | | |
577 | | template<typename T, class D> |
578 | | bool |
579 | | operator==(decltype(nullptr), const UniquePtr<T, D>& aX) |
580 | | { |
581 | | return !aX; |
582 | | } |
583 | | |
584 | | template<typename T, class D> |
585 | | bool |
586 | | operator!=(const UniquePtr<T, D>& aX, decltype(nullptr)) |
587 | | { |
588 | | return bool(aX); |
589 | | } |
590 | | |
591 | | template<typename T, class D> |
592 | | bool |
593 | | operator!=(decltype(nullptr), const UniquePtr<T, D>& aX) |
594 | | { |
595 | | return bool(aX); |
596 | | } |
597 | | |
598 | | // No operator<, operator>, operator<=, operator>= for now because simplicity. |
599 | | |
600 | | namespace detail { |
601 | | |
602 | | template<typename T> |
603 | | struct UniqueSelector |
604 | | { |
605 | | typedef UniquePtr<T> SingleObject; |
606 | | }; |
607 | | |
608 | | template<typename T> |
609 | | struct UniqueSelector<T[]> |
610 | | { |
611 | | typedef UniquePtr<T[]> UnknownBound; |
612 | | }; |
613 | | |
614 | | template<typename T, decltype(sizeof(int)) N> |
615 | | struct UniqueSelector<T[N]> |
616 | | { |
617 | | typedef UniquePtr<T[N]> KnownBound; |
618 | | }; |
619 | | |
620 | | } // namespace detail |
621 | | |
622 | | /** |
623 | | * MakeUnique is a helper function for allocating new'd objects and arrays, |
624 | | * returning a UniquePtr containing the resulting pointer. The semantics of |
625 | | * MakeUnique<Type>(...) are as follows. |
626 | | * |
627 | | * If Type is an array T[n]: |
628 | | * Disallowed, deleted, no overload for you! |
629 | | * If Type is an array T[]: |
630 | | * MakeUnique<T[]>(size_t) is the only valid overload. The pointer returned |
631 | | * is as if by |new T[n]()|, which value-initializes each element. (If T |
632 | | * isn't a class type, this will zero each element. If T is a class type, |
633 | | * then roughly speaking, each element will be constructed using its default |
634 | | * constructor. See C++11 [dcl.init]p7 for the full gory details.) |
635 | | * If Type is non-array T: |
636 | | * The arguments passed to MakeUnique<T>(...) are forwarded into a |
637 | | * |new T(...)| call, initializing the T as would happen if executing |
638 | | * |T(...)|. |
639 | | * |
640 | | * There are various benefits to using MakeUnique instead of |new| expressions. |
641 | | * |
642 | | * First, MakeUnique eliminates use of |new| from code entirely. If objects are |
643 | | * only created through UniquePtr, then (assuming all explicit release() calls |
644 | | * are safe, including transitively, and no type-safety casting funniness) |
645 | | * correctly maintained ownership of the UniquePtr guarantees no leaks are |
646 | | * possible. (This pays off best if a class is only ever created through a |
647 | | * factory method on the class, using a private constructor.) |
648 | | * |
649 | | * Second, initializing a UniquePtr using a |new| expression requires repeating |
650 | | * the name of the new'd type, whereas MakeUnique in concert with the |auto| |
651 | | * keyword names it only once: |
652 | | * |
653 | | * UniquePtr<char> ptr1(new char()); // repetitive |
654 | | * auto ptr2 = MakeUnique<char>(); // shorter |
655 | | * |
656 | | * Of course this assumes the reader understands the operation MakeUnique |
657 | | * performs. In the long run this is probably a reasonable assumption. In the |
658 | | * short run you'll have to use your judgment about what readers can be expected |
659 | | * to know, or to quickly look up. |
660 | | * |
661 | | * Third, a call to MakeUnique can be assigned directly to a UniquePtr. In |
662 | | * contrast you can't assign a pointer into a UniquePtr without using the |
663 | | * cumbersome reset(). |
664 | | * |
665 | | * UniquePtr<char> p; |
666 | | * p = new char; // ERROR |
667 | | * p.reset(new char); // works, but fugly |
668 | | * p = MakeUnique<char>(); // preferred |
669 | | * |
670 | | * (And third, although not relevant to Mozilla: MakeUnique is exception-safe. |
671 | | * An exception thrown after |new T| succeeds will leak that memory, unless the |
672 | | * pointer is assigned to an object that will manage its ownership. UniquePtr |
673 | | * ably serves this function.) |
674 | | */ |
675 | | |
676 | | template<typename T, typename... Args> |
677 | | typename detail::UniqueSelector<T>::SingleObject |
678 | | MakeUnique(Args&&... aArgs) |
679 | 0 | { |
680 | 0 | return UniquePtr<T>(new T(std::forward<Args>(aArgs)...)); |
681 | 0 | } Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::gl::GLReadTexImageHelper>::SingleObject mozilla::MakeUnique<mozilla::gl::GLReadTexImageHelper, mozilla::gl::GLContext*>(mozilla::gl::GLContext*&&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::gl::SurfaceFactory_Basic>::SingleObject mozilla::MakeUnique<mozilla::gl::SurfaceFactory_Basic, mozilla::gl::GLContext*&, mozilla::gl::SurfaceCaps const&, mozilla::layers::TextureFlags&>(mozilla::gl::GLContext*&, mozilla::gl::SurfaceCaps const&, mozilla::layers::TextureFlags&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::ContentMonitor>::SingleObject mozilla::MakeUnique<mozilla::layers::ContentMonitor>() Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::LayerScopeWebSocketManager>::SingleObject mozilla::MakeUnique<mozilla::layers::LayerScopeWebSocketManager>() Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::DrawSession>::SingleObject mozilla::MakeUnique<mozilla::layers::DrawSession>() Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::layerscope::Packet>::SingleObject mozilla::MakeUnique<mozilla::layers::layerscope::Packet>() Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::layerscope::CommandPacket>::SingleObject mozilla::MakeUnique<mozilla::layers::layerscope::CommandPacket>() Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::LayerPropertiesBase>::SingleObject mozilla::MakeUnique<mozilla::layers::LayerPropertiesBase>() Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::ContainerLayerProperties>::SingleObject mozilla::MakeUnique<mozilla::layers::ContainerLayerProperties, mozilla::layers::ContainerLayer*>(mozilla::layers::ContainerLayer*&&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::ColorLayerProperties>::SingleObject mozilla::MakeUnique<mozilla::layers::ColorLayerProperties, mozilla::layers::ColorLayer*>(mozilla::layers::ColorLayer*&&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::ImageLayerProperties>::SingleObject mozilla::MakeUnique<mozilla::layers::ImageLayerProperties, mozilla::layers::ImageLayer*, bool&>(mozilla::layers::ImageLayer*&&, bool&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::CanvasLayerProperties>::SingleObject mozilla::MakeUnique<mozilla::layers::CanvasLayerProperties, mozilla::layers::CanvasLayer*>(mozilla::layers::CanvasLayer*&&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::LayerPropertiesBase>::SingleObject mozilla::MakeUnique<mozilla::layers::LayerPropertiesBase, mozilla::layers::Layer*&>(mozilla::layers::Layer*&) Unexecuted instantiation: mozilla::detail::UniqueSelector<ScreenshotPayload>::SingleObject mozilla::MakeUnique<ScreenshotPayload, mozilla::TimeStamp const&, nsTString<char>, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, unsigned long const&>(mozilla::TimeStamp const&, nsTString<char>&&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, unsigned long const&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::gl::SurfaceFactory_Basic>::SingleObject mozilla::MakeUnique<mozilla::gl::SurfaceFactory_Basic, RefPtr<mozilla::gl::GLContext>&, mozilla::gl::SurfaceCaps&, mozilla::layers::TextureFlags&>(RefPtr<mozilla::gl::GLContext>&, mozilla::gl::SurfaceCaps&, mozilla::layers::TextureFlags&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::GLBlitTextureImageHelper>::SingleObject mozilla::MakeUnique<mozilla::layers::GLBlitTextureImageHelper, mozilla::layers::CompositorOGL*>(mozilla::layers::CompositorOGL*&&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::ActiveResourceTracker>::SingleObject mozilla::MakeUnique<mozilla::layers::ActiveResourceTracker, int, char const (&) [22], nsCOMPtr<nsIEventTarget>&>(int&&, char const (&) [22], nsCOMPtr<nsIEventTarget>&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::ScheduleObserveLayersUpdate>::SingleObject mozilla::MakeUnique<mozilla::layers::ScheduleObserveLayersUpdate, mozilla::layers::CompositorBridgeParentBase*&, mozilla::layers::LayersId, mozilla::layers::LayersObserverEpoch&, bool>(mozilla::layers::CompositorBridgeParentBase*&, mozilla::layers::LayersId&&, mozilla::layers::LayersObserverEpoch&, bool&&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::WebRenderCanvasRendererAsync>::SingleObject mozilla::MakeUnique<mozilla::layers::WebRenderCanvasRendererAsync, RefPtr<mozilla::layers::WebRenderLayerManager>&>(RefPtr<mozilla::layers::WebRenderLayerManager>&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::TileExpiry>::SingleObject mozilla::MakeUnique<mozilla::layers::TileExpiry>() Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::CompositorScreenshotGrabberImpl>::SingleObject mozilla::MakeUnique<mozilla::layers::CompositorScreenshotGrabberImpl, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> >(mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>&&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::ProfilerScreenshots>::SingleObject mozilla::MakeUnique<mozilla::layers::ProfilerScreenshots>() Unexecuted instantiation: mozilla::detail::UniqueSelector<LayerTranslationMarkerPayload>::SingleObject mozilla::MakeUnique<LayerTranslationMarkerPayload, mozilla::layers::Layer*&, mozilla::gfx::PointTyped<mozilla::gfx::UnknownUnits, float>&, mozilla::TimeStamp>(mozilla::layers::Layer*&, mozilla::gfx::PointTyped<mozilla::gfx::UnknownUnits, float>&, mozilla::TimeStamp&&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::PreparedData>::SingleObject mozilla::MakeUnique<mozilla::layers::PreparedData>() Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::Diagnostics>::SingleObject mozilla::MakeUnique<mozilla::layers::Diagnostics>() Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::layers::TextRenderer::FontCache>::SingleObject mozilla::MakeUnique<mozilla::layers::TextRenderer::FontCache>() Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::ipc::Shmem>::SingleObject mozilla::MakeUnique<mozilla::ipc::Shmem, mozilla::ipc::Shmem const&>(mozilla::ipc::Shmem const&) Unexecuted instantiation: mozilla::detail::UniqueSelector<VsyncMarkerPayload>::SingleObject mozilla::MakeUnique<VsyncMarkerPayload, mozilla::TimeStamp&>(mozilla::TimeStamp&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::wr::RenderCompositorOGL>::SingleObject mozilla::MakeUnique<mozilla::wr::RenderCompositorOGL, RefPtr<mozilla::gl::GLContext>, RefPtr<mozilla::widget::CompositorWidget> >(RefPtr<mozilla::gl::GLContext>&&, RefPtr<mozilla::widget::CompositorWidget>&&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::wr::WebRenderProgramCache>::SingleObject mozilla::MakeUnique<mozilla::wr::WebRenderProgramCache, mozilla::wr::WrThreadPool*>(mozilla::wr::WrThreadPool*&&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::wr::NewRenderer>::SingleObject mozilla::MakeUnique<mozilla::wr::NewRenderer, mozilla::wr::DocumentHandle**, mozilla::layers::CompositorBridgeParent*&, unsigned int*, bool*, bool*, RefPtr<mozilla::widget::CompositorWidget>, mozilla::layers::SynchronousTask*, mozilla::gfx::IntSizeTyped<mozilla::LayoutDevicePixel>&, unsigned long*>(mozilla::wr::DocumentHandle**&&, mozilla::layers::CompositorBridgeParent*&, unsigned int*&&, bool*&&, bool*&&, RefPtr<mozilla::widget::CompositorWidget>&&, mozilla::layers::SynchronousTask*&&, mozilla::gfx::IntSizeTyped<mozilla::LayoutDevicePixel>&, unsigned long*&&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::wr::RendererOGL>::SingleObject mozilla::MakeUnique<mozilla::wr::RendererOGL, RefPtr<mozilla::wr::RenderThread>, mozilla::UniquePtr<mozilla::wr::RenderCompositor, mozilla::DefaultDelete<mozilla::wr::RenderCompositor> >, mozilla::wr::WrWindowId&, mozilla::wr::Renderer*&, mozilla::layers::CompositorBridgeParent*&>(RefPtr<mozilla::wr::RenderThread>&&, mozilla::UniquePtr<mozilla::wr::RenderCompositor, mozilla::DefaultDelete<mozilla::wr::RenderCompositor> >&&, mozilla::wr::WrWindowId&, mozilla::wr::Renderer*&, mozilla::layers::CompositorBridgeParent*&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::wr::RemoveRenderer>::SingleObject mozilla::MakeUnique<mozilla::wr::RemoveRenderer, mozilla::layers::SynchronousTask*>(mozilla::layers::SynchronousTask*&&) Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::detail::UniqueSelector<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback>::SingleObject mozilla::MakeUnique<mozilla::wr::WebRenderAPI::Readback(mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned char*, unsigned int)::Readback, mozilla::layers::SynchronousTask*, mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>&, unsigned char*&, unsigned int&>(mozilla::layers::SynchronousTask*&&, mozilla::TimeStamp const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>&, unsigned char*&, unsigned int&) Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::detail::UniqueSelector<mozilla::wr::WebRenderAPI::Pause()::PauseEvent>::SingleObject mozilla::MakeUnique<mozilla::wr::WebRenderAPI::Pause()::PauseEvent, mozilla::layers::SynchronousTask*>(mozilla::layers::SynchronousTask*&&) Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::detail::UniqueSelector<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent>::SingleObject mozilla::MakeUnique<mozilla::wr::WebRenderAPI::Resume()::ResumeEvent, mozilla::layers::SynchronousTask*, bool*>(mozilla::layers::SynchronousTask*&&, bool*&&) Unexecuted instantiation: Unified_cpp_webrender_bindings0.cpp:mozilla::detail::UniqueSelector<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent>::SingleObject mozilla::MakeUnique<mozilla::wr::WebRenderAPI::WaitFlushed()::WaitFlushedEvent, mozilla::layers::SynchronousTask*>(mozilla::layers::SynchronousTask*&&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::wr::FrameStartTime>::SingleObject mozilla::MakeUnique<mozilla::wr::FrameStartTime, mozilla::TimeStamp const&>(mozilla::TimeStamp const&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::dom::AdjustedTargetForShadow>::SingleObject mozilla::MakeUnique<mozilla::dom::AdjustedTargetForShadow, mozilla::dom::CanvasRenderingContext2D*&, RefPtr<mozilla::gfx::DrawTarget>&, mozilla::gfx::RectTyped<mozilla::gfx::UnknownUnits, float>&, mozilla::gfx::CompositionOp&>(mozilla::dom::CanvasRenderingContext2D*&, RefPtr<mozilla::gfx::DrawTarget>&, mozilla::gfx::RectTyped<mozilla::gfx::UnknownUnits, float>&, mozilla::gfx::CompositionOp&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::dom::AdjustedTargetForFilter>::SingleObject mozilla::MakeUnique<mozilla::dom::AdjustedTargetForFilter, mozilla::dom::CanvasRenderingContext2D*&, RefPtr<mozilla::gfx::DrawTarget>&, mozilla::gfx::IntPointTyped<mozilla::gfx::UnknownUnits>&, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits>&, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits>, mozilla::gfx::CompositionOp&>(mozilla::dom::CanvasRenderingContext2D*&, RefPtr<mozilla::gfx::DrawTarget>&, mozilla::gfx::IntPointTyped<mozilla::gfx::UnknownUnits>&, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits>&, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits>&&, mozilla::gfx::CompositionOp&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::webgl::TexUnpackBytes>::SingleObject mozilla::MakeUnique<mozilla::webgl::TexUnpackBytes, mozilla::WebGLContext*&, StrongGLenum<TexImageTargetDetails>&, unsigned int&, unsigned int&, unsigned int&, bool const&, unsigned char const* const&, unsigned long&>(mozilla::WebGLContext*&, StrongGLenum<TexImageTargetDetails>&, unsigned int&, unsigned int&, unsigned int&, bool const&, unsigned char const* const&, unsigned long&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::webgl::TexUnpackSurface>::SingleObject mozilla::MakeUnique<mozilla::webgl::TexUnpackSurface, mozilla::WebGLContext*&, StrongGLenum<TexImageTargetDetails>&, unsigned int&, unsigned int&, unsigned int&, RefPtr<mozilla::gfx::DataSourceSurface> const&, gfxAlphaType&>(mozilla::WebGLContext*&, StrongGLenum<TexImageTargetDetails>&, unsigned int&, unsigned int&, unsigned int&, RefPtr<mozilla::gfx::DataSourceSurface> const&, gfxAlphaType&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::webgl::TexUnpackSurface>::SingleObject mozilla::MakeUnique<mozilla::webgl::TexUnpackSurface, mozilla::WebGLContext*&, StrongGLenum<TexImageTargetDetails>&, unsigned int&, unsigned int&, unsigned int&, RefPtr<mozilla::gfx::DataSourceSurface> const&, gfxAlphaType const&>(mozilla::WebGLContext*&, StrongGLenum<TexImageTargetDetails>&, unsigned int&, unsigned int&, unsigned int&, RefPtr<mozilla::gfx::DataSourceSurface> const&, gfxAlphaType const&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::webgl::TexUnpackBytes>::SingleObject mozilla::MakeUnique<mozilla::webgl::TexUnpackBytes, mozilla::WebGLContext*&, StrongGLenum<TexImageTargetDetails>&, unsigned int&, unsigned int&, unsigned int&, bool const&, unsigned char const*&, unsigned long&>(mozilla::WebGLContext*&, StrongGLenum<TexImageTargetDetails>&, unsigned int&, unsigned int&, unsigned int&, bool const&, unsigned char const*&, unsigned long&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::webgl::TexUnpackBytes>::SingleObject mozilla::MakeUnique<mozilla::webgl::TexUnpackBytes, mozilla::WebGLContext*, StrongGLenum<TexImageTargetDetails>&, unsigned int&, unsigned int&, unsigned int&, bool const&, decltype(nullptr), int>(mozilla::WebGLContext*&&, StrongGLenum<TexImageTargetDetails>&, unsigned int&, unsigned int&, unsigned int&, bool const&, decltype(nullptr)&&, int&&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::webgl::TexUnpackImage>::SingleObject mozilla::MakeUnique<mozilla::webgl::TexUnpackImage, mozilla::WebGLContext*, StrongGLenum<TexImageTargetDetails>&, unsigned int&, unsigned int&, unsigned int&, mozilla::layers::Image*&, gfxAlphaType&>(mozilla::WebGLContext*&&, StrongGLenum<TexImageTargetDetails>&, unsigned int&, unsigned int&, unsigned int&, mozilla::layers::Image*&, gfxAlphaType&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::webgl::TexUnpackSurface>::SingleObject mozilla::MakeUnique<mozilla::webgl::TexUnpackSurface, mozilla::WebGLContext*, StrongGLenum<TexImageTargetDetails>&, unsigned int&, unsigned int&, unsigned int&, RefPtr<mozilla::gfx::DataSourceSurface>&, gfxAlphaType&>(mozilla::WebGLContext*&&, StrongGLenum<TexImageTargetDetails>&, unsigned int&, unsigned int&, unsigned int&, RefPtr<mozilla::gfx::DataSourceSurface>&, gfxAlphaType&) Unexecuted instantiation: mozilla::detail::UniqueSelector<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> > >::SingleObject mozilla::MakeUnique<JS::GCHashMap<nsJSObjWrapperKey, nsJSObjWrapper*, JSObjWrapperHasher, js::SystemAllocPolicy, JS::DefaultMapSweepPolicy<nsJSObjWrapperKey, nsJSObjWrapper*> >>() Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::ipc::CrashReporterHost>::SingleObject mozilla::MakeUnique<mozilla::ipc::CrashReporterHost, GeckoProcessType, mozilla::ipc::Shmem&, int&>(GeckoProcessType&&, mozilla::ipc::Shmem&, int&) Unexecuted instantiation: mozilla::detail::UniqueSelector<mozilla::CurrentX11TimeGetter>::SingleObject mozilla::MakeUnique<mozilla::CurrentX11TimeGetter, _GdkWindow*&>(_GdkWindow*&) |
682 | | |
683 | | template<typename T> |
684 | | typename detail::UniqueSelector<T>::UnknownBound |
685 | | MakeUnique(decltype(sizeof(int)) aN) |
686 | 0 | { |
687 | 0 | typedef typename RemoveExtent<T>::Type ArrayType; |
688 | 0 | return UniquePtr<T>(new ArrayType[aN]()); |
689 | 0 | } |
690 | | |
691 | | template<typename T, typename... Args> |
692 | | typename detail::UniqueSelector<T>::KnownBound |
693 | | MakeUnique(Args&&... aArgs) = delete; |
694 | | |
695 | | /** |
696 | | * WrapUnique is a helper function to transfer ownership from a raw pointer |
697 | | * into a UniquePtr<T>. It can only be used with a single non-array type. |
698 | | * |
699 | | * It is generally used this way: |
700 | | * |
701 | | * auto p = WrapUnique(new char); |
702 | | * |
703 | | * It can be used when MakeUnique is not usable, for example, when the |
704 | | * constructor you are using is private, or you want to use aggregate |
705 | | * initialization. |
706 | | */ |
707 | | |
708 | | template<typename T> |
709 | | typename detail::UniqueSelector<T>::SingleObject |
710 | | WrapUnique(T* aPtr) |
711 | | { |
712 | | return UniquePtr<T>(aPtr); |
713 | | } |
714 | | |
715 | | } // namespace mozilla |
716 | | |
717 | | #endif /* mozilla_UniquePtr_h */ |