gecko-dev/dom/canvas
Emilio Cobos Álvarez c2f5a4ac7a Bug 1835119 - Remove nsCOMPtr_base. r=xpcom-reviewers,kmag
It's not clear to me why specializing nsCOMPtr<nsISupports> is
particularly useful, and this removes a lot of code, bringing us closer
to unifying nsCOMPtr and RefPtr.

The changes in other places are needed because we used to allow
nsCOMPtr<nsISupports> to implicitly coerce to nsISupports even for
rvalue references.

     0:47.88 /home/emilio/src/moz/gecko-4/netwerk/protocol/http/nsHttpActivityDistributor.cpp:121:11: error: conversion function from 'nsCOMPtr<nsISupports>' to 'nsISupports *' invokes a deleted function
     0:47.88           nsCOMPtr<nsISupports>(do_QueryObject(channel)), aActivityType,
     0:47.88           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     0:47.88 /home/emilio/src/moz/gecko-4/obj-debug/dist/include/nsCOMPtr.h:764:3: note: 'operator nsISupports *' has been explicitly marked deleted here
     0:47.88   operator T*() const&& = delete;
     0:47.88   ^
     0:47.88 /home/emilio/src/moz/gecko-4/netwerk/protocol/http/nsHttpActivityDistributor.cpp:29:57: note: passing argument to parameter 'aHttpChannel' here
     0:47.88 nsHttpActivityDistributor::ObserveActivity(nsISupports* aHttpChannel,
     0:47.88                                                         ^

Which is not allowed for a good reason, generally.

Differential Revision: https://phabricator.services.mozilla.com/D179124
2023-05-31 21:58:43 +00:00
..
crashtests Bug 1816140: Check that OffscreenCanvas width and height fit in int32_t. r=gfx-reviewers,webidl,aosmond,nical,smaug 2023-02-14 00:18:37 +00:00
gtest Bug 1768189 - Part 7: Apply modernize-concat-nested-namespaces to dom/cache/FileUtilsImpl.h ... r=andi 2022-05-09 20:41:05 +00:00
test Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu 2023-05-20 12:26:53 +00:00
BasicRenderingContext2D.h Bug 1768189 - Part 7: Apply modernize-concat-nested-namespaces to dom/cache/FileUtilsImpl.h ... r=andi 2022-05-09 20:41:05 +00:00
CacheInvalidator.cpp
CacheInvalidator.h
CanvasGradient.cpp
CanvasGradient.h Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
CanvasImageCache.cpp Bug 1794442 - Avoid reusing CanvasImageCache entries for different backends. r=lsalzman 2022-10-14 20:40:11 +00:00
CanvasImageCache.h Bug 1794442 - Avoid reusing CanvasImageCache entries for different backends. r=lsalzman 2022-10-14 20:40:11 +00:00
CanvasPath.h Bug 1835119 - Remove nsCOMPtr_base. r=xpcom-reviewers,kmag 2023-05-31 21:58:43 +00:00
CanvasPattern.cpp
CanvasPattern.h Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
CanvasRenderingContext2D.cpp Bug 1835989 - Calculate the canvas random noises before we allocate the ArrayData in CanvasRenderingContext2D. r=lsalzman 2023-05-31 16:39:33 +00:00
CanvasRenderingContext2D.h Bug 1778909 - Implement letterSpacing and wordSpacing attributes for Canvas2D text. r=saschanaz,emilio 2023-05-12 20:54:21 +00:00
CanvasRenderingContextHelper.cpp Bug 1812932 - Add size outvar to GetImageBuffer. r=gfx-reviewers,bradwerth 2023-03-21 18:05:09 +00:00
CanvasRenderingContextHelper.h Bug 1746750 - Part 3. Implement partial OffscreenCanvasRenderingContext2D. r=lsalzman,webidl,smaug 2022-02-03 20:00:25 +00:00
CanvasUtils.cpp Bug 1832681: Add the other Canvas RFPTargets r=timhuang 2023-05-22 16:29:01 +00:00
CanvasUtils.h Bug 1660405 - Move away from mozilla::IsFinite in favor of std::isfinite. r=sergesanspaille 2023-03-22 11:35:33 +00:00
ClientWebGLContext.cpp Bug 1816189 - Part 4: Add random noise when extracting data from canvas element when canvas randomization is enabled. r=tjr,lsalzman 2023-05-08 14:04:35 +00:00
ClientWebGLContext.h Bug 1816189 - Part 3: Moving ShouldResistFingerprinting() to nsICanvasRenderingContextInternal from ClientWebCLContext and add a RFPTarget as an input argument. r=tjr,lsalzman 2023-05-08 14:04:34 +00:00
ClientWebGLExtensions.cpp Bug 1825673 - Implement WEBGL_provoking_vertex. r=gfx-reviewers,webidl,lsalzman,saschanaz 2023-04-01 00:33:25 +00:00
ClientWebGLExtensions.h Bug 1825673 - Implement WEBGL_provoking_vertex. r=gfx-reviewers,webidl,lsalzman,saschanaz 2023-04-01 00:33:25 +00:00
DrawTargetWebgl.cpp Bug 1834342 - Flush pending commands in DrawTargetWebgl::~DrawTargetWebgl() r=gfx-reviewers,lsalzman 2023-05-30 03:09:12 +00:00
DrawTargetWebgl.h Bug 1829058 - Cache scissor state in DrawTargetWebgl. r=aosmond 2023-04-20 14:27:52 +00:00
DrawTargetWebglInternal.h Bug 1800352 - Support bigger cache for PathCache. r=aosmond 2022-11-13 23:01:53 +00:00
GeneratePlaceholderCanvasData.h Bug 1768189 - Part 7: Apply modernize-concat-nested-namespaces to dom/cache/FileUtilsImpl.h ... r=andi 2022-05-09 20:41:05 +00:00
HostWebGLContext.cpp Bug 1777426 - Support fast readbacks in CopyToSwapChain with async present. r=sotaro,jgilbert 2022-07-12 06:56:19 +00:00
HostWebGLContext.h Bug 1826134 - Avoid interleaving glBufferSubData calls with draw calls in DrawTargetWebgl. r=gfx-reviewers,jgilbert,lsalzman 2023-04-07 07:25:50 +00:00
ImageBitmap.cpp Bug 1785635 Add flag to enforce from-image orientation for createImageBitmap r=emilio 2023-01-31 16:04:17 +00:00
ImageBitmap.h Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
ImageBitmapRenderingContext.cpp Bug 1833213 - Clone the image data if canvas randomization is enabled in CanvasRenderingContext2D::GetImageDataArray(). r=tjr,lsalzman 2023-05-17 21:43:48 +00:00
ImageBitmapRenderingContext.h Bug 1812932 - Add size outvar to GetImageBuffer. r=gfx-reviewers,bradwerth 2023-03-21 18:05:09 +00:00
ImageBitmapSource.h Bug 1768189 - Part 7: Apply modernize-concat-nested-namespaces to dom/cache/FileUtilsImpl.h ... r=andi 2022-05-09 20:41:05 +00:00
ImageData.cpp Bug 1763424 - Limit ImageData typed array to 2Gb when created using its constructor r=edgar 2022-04-07 19:46:47 +00:00
ImageData.h Bug 1682612 - Check for ArrayBuffer Detach/Transfer in texImage2D(ImageData). r=gfx-reviewers,aosmond 2022-03-21 23:21:42 +00:00
ImageUtils.cpp Bug 1778232 - ImageFormat::s/CAIRO_SURFACE/MOZ2D_SURFACE/. r=jrmuizel 2022-07-06 07:46:17 +00:00
ImageUtils.h Bug 1771948 - Cleanup dom/canvas dom/geolocation and some dom/media includes r=sylvestre 2022-06-05 09:23:00 +00:00
MurmurHash3.cpp Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
MurmurHash3.h
OffscreenCanvas.cpp Bug 1816189 - Part 3: Moving ShouldResistFingerprinting() to nsICanvasRenderingContextInternal from ClientWebCLContext and add a RFPTarget as an input argument. r=tjr,lsalzman 2023-05-08 14:04:34 +00:00
OffscreenCanvas.h Bug 1816189 - Part 3: Moving ShouldResistFingerprinting() to nsICanvasRenderingContextInternal from ClientWebCLContext and add a RFPTarget as an input argument. r=tjr,lsalzman 2023-05-08 14:04:34 +00:00
OffscreenCanvasDisplayHelper.cpp Bug 1805209 - Use RemoteTexture for WebGPU r=gfx-reviewers,lsalzman 2022-12-23 20:41:02 +00:00
OffscreenCanvasDisplayHelper.h Bug 1805209 - Use RemoteTexture for WebGPU r=gfx-reviewers,lsalzman 2022-12-23 20:41:02 +00:00
OffscreenCanvasRenderingContext2D.cpp Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
OffscreenCanvasRenderingContext2D.h Bug 1779227 - Enable the font attribute to be set on a disconnected <canvas> element without throwing an error. r=aosmond 2022-07-12 18:36:32 +00:00
PWebGL.ipdl Bug 1805209 - Use RemoteTexture for WebGPU r=gfx-reviewers,lsalzman 2022-12-23 20:41:02 +00:00
QueueParamTraits.h Bug 1277372 - Move away from "mozilla/TypeTraits.h". r=geckoview-reviewers,sergesanspaille,m_kato 2023-04-17 13:50:11 +00:00
SanitizeRenderer.cpp Bug 1519636 - Reformat recent changes to the Google coding style. r=sylvestre 2022-01-11 15:49:03 +00:00
SourceSurfaceWebgl.cpp Bug 1752841 - Add ExtractSubrect API to SourceSurface. r=jrmuizel 2022-12-07 21:06:32 +00:00
SourceSurfaceWebgl.h Bug 1752841 - Add ExtractSubrect API to SourceSurface. r=jrmuizel 2022-12-07 21:06:32 +00:00
TexUnpackBlob.cpp Backed out changeset 0a2985a48339 (bug 1769747) for causing gl failures. 2022-10-05 01:38:13 +03:00
TexUnpackBlob.h
TextMetrics.h Bug 1768189 - Part 7: Apply modernize-concat-nested-namespaces to dom/cache/FileUtilsImpl.h ... r=andi 2022-05-09 20:41:05 +00:00
TiedFields.h Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
TupleUtils.h Bug 1778808 - Trim unused code, particularly in TiedFields.h. r=nika 2022-08-09 21:01:56 +00:00
WebGL2Context.cpp
WebGL2Context.h
WebGL2ContextBuffers.cpp
WebGL2ContextFramebuffers.cpp
WebGL2ContextMRTs.cpp Bug 1778808 - Use stricter TiedFields instead of IsTriviallySerializable in WebGL's QueueParamTraits. r=lsalzman,nika 2022-08-09 21:01:55 +00:00
WebGL2ContextQueries.cpp
WebGL2ContextRenderbuffers.cpp
WebGL2ContextSamplers.cpp
WebGL2ContextState.cpp
WebGL2ContextSync.cpp
WebGL2ContextTransformFeedback.cpp
WebGL2ContextUniforms.cpp
WebGLBuffer.cpp Bug 1827591 - Avoid setting GL_MAP_INVALIDATE_RANGE_BIT on Adreno devices. r=gfx-reviewers,lsalzman 2023-04-12 11:49:58 +00:00
WebGLBuffer.h Bug 1826134 - Avoid interleaving glBufferSubData calls with draw calls in DrawTargetWebgl. r=gfx-reviewers,jgilbert,lsalzman 2023-04-07 07:25:50 +00:00
WebGLChild.cpp Bug 1801021 - Use BigBuffer for DispatchCommands. r=gfx-reviewers,lsalzman 2022-11-25 22:20:38 +00:00
WebGLChild.h Bug 1801021 - Use BigBuffer for DispatchCommands. r=gfx-reviewers,lsalzman 2022-11-25 22:20:38 +00:00
WebGLCommandQueue.h Bug 1798703 - Enforce alignment for UniformData via union rather than overalignment. r=lsalzman 2022-11-07 07:24:43 +00:00
WebGLContext.cpp Bug 1833030. Don't use native_srgb on Windows. r=jgilbert 2023-05-26 01:35:33 +00:00
WebGLContext.h Bug 1826134 - Avoid interleaving glBufferSubData calls with draw calls in DrawTargetWebgl. r=gfx-reviewers,jgilbert,lsalzman 2023-04-07 07:25:50 +00:00
WebGLContextBuffers.cpp Bug 1826134 - Avoid interleaving glBufferSubData calls with draw calls in DrawTargetWebgl. r=gfx-reviewers,jgilbert,lsalzman 2023-04-07 07:25:50 +00:00
WebGLContextDraw.cpp Bug 1800301 - Use Vector instead of custom inlining_vector. r=jgilbert 2022-11-15 08:05:09 +00:00
WebGLContextExtensions.cpp Bug 1825673 - Implement WEBGL_provoking_vertex. r=gfx-reviewers,webidl,lsalzman,saschanaz 2023-04-01 00:33:25 +00:00
WebGLContextFramebufferOperations.cpp Bug 1449575 - Don't attempt ColorMask elision in WebGL. r=gfx-reviewers,aosmond 2022-03-24 19:39:06 +00:00
WebGLContextGL.cpp Bug 1825673 - Implement WEBGL_provoking_vertex. r=gfx-reviewers,webidl,lsalzman,saschanaz 2023-04-01 00:33:25 +00:00
WebGLContextLossHandler.cpp
WebGLContextLossHandler.h
WebGLContextState.cpp
WebGLContextTextures.cpp
WebGLContextUtils.cpp Bug 1660405 - Move away from mozilla::IsNaN in favor of std::isnan. r=nbp,media-playback-reviewers,sergesanspaille,padenot 2023-03-22 11:35:33 +00:00
WebGLContextUtils.h
WebGLContextValidate.cpp Bug 1800301 - Reduce allocs and ptr-chasing in ScopedResolveTexturesForDraw. r=gfx-reviewers,lsalzman 2022-11-15 04:11:16 +00:00
WebGLContextVertexArray.cpp
WebGLContextVertices.cpp Bug 1778808 - Use stricter TiedFields instead of IsTriviallySerializable in WebGL's QueueParamTraits. r=lsalzman,nika 2022-08-09 21:01:55 +00:00
WebGLExtensions.cpp Bug 1735431 - Merge WebGLExtension* into WebGLExtensions.cpp. r=gfx-reviewers,nical 2021-10-19 23:07:00 +00:00
WebGLExtensions.h Bug 1825673 - Implement WEBGL_provoking_vertex. r=gfx-reviewers,webidl,lsalzman,saschanaz 2023-04-01 00:33:25 +00:00
WebGLFormats.cpp Bug 1778549 - Don't crash on validation failure in ReadPixelsPbo. r=gfx-reviewers,lsalzman 2022-08-03 06:10:31 +00:00
WebGLFormats.h Bug 1778549 - Don't crash on validation failure in ReadPixelsPbo. r=gfx-reviewers,lsalzman 2022-08-03 06:10:31 +00:00
WebGLFramebuffer.cpp Bug 1449575 - Don't attempt ColorMask elision in WebGL. r=gfx-reviewers,aosmond 2022-03-24 19:39:06 +00:00
WebGLFramebuffer.h Bug 1754130 - Support presenting a WebGLFramebuffer to its own swap chain without opaque FB. r=aosmond,jgilbert 2022-02-11 19:49:56 +00:00
WebGLInternalFormatsTable.h
WebGLIpdl.h Bug 1803375. Use different coordinates when running on AMD. r=lsalzman,jgilbert 2023-01-27 01:45:17 +00:00
WebGLMemoryTracker.cpp
WebGLMemoryTracker.h
WebGLMethodDispatcher.h Bug 1825673 - Implement WEBGL_provoking_vertex. r=gfx-reviewers,webidl,lsalzman,saschanaz 2023-04-01 00:33:25 +00:00
WebGLObjectModel.h
WebGLParent.cpp Bug 1805790 - In PWebGL, only IPC_FAIL for ipc errors, not errors over ipc. r=gfx-reviewers,lsalzman 2022-12-15 19:02:12 +00:00
WebGLParent.h Bug 1801021 - Use BigBuffer for DispatchCommands. r=gfx-reviewers,lsalzman 2022-11-25 22:20:38 +00:00
WebGLProgram.cpp Bug 1800301 - Use Vector instead of custom inlining_vector. r=jgilbert 2022-11-15 08:05:09 +00:00
WebGLProgram.h Bug 1800301 - Use Vector instead of custom inlining_vector. r=jgilbert 2022-11-15 08:05:09 +00:00
WebGLQuery.cpp
WebGLQuery.h
WebGLQueueParamTraits.h Bug 1825673 - Implement WEBGL_provoking_vertex. r=gfx-reviewers,webidl,lsalzman,saschanaz 2023-04-01 00:33:25 +00:00
WebGLRenderbuffer.cpp
WebGLRenderbuffer.h
WebGLSampler.cpp
WebGLSampler.h
WebGLShader.cpp Bug 1747299 - [UniqueBuffer] Use UniqueBuffer::Take instead of copy constructors for void*. r=gfx-reviewers,sotaro 2021-12-25 00:31:48 +00:00
WebGLShader.h
WebGLShaderValidator.cpp Bug 1794292: apply code formatting via Lando 2023-03-30 22:44:59 +00:00
WebGLShaderValidator.h Bug 1779800 - Fix WebGL instancing in some cases on Mac. r=gfx-reviewers,lsalzman 2022-09-15 00:47:03 +00:00
WebGLStrongTypes.h
WebGLSync.cpp
WebGLSync.h
WebGLTexelConversions.cpp Bug 1677183 - Implement WebGPU's Queue.copyExternalImageToTexture. r=jgilbert,jimb,emilio 2022-08-18 16:11:46 +00:00
WebGLTexelConversions.h Bug 1677183 - Implement WebGPU's Queue.copyExternalImageToTexture. r=jgilbert,jimb,emilio 2022-08-18 16:11:46 +00:00
WebGLTexture.cpp Bug 1781728 - Fix code style r=jgilbert 2022-08-24 22:20:39 +00:00
WebGLTexture.h Bug 1781728 - Clamp WebGL mipmap levels r=jgilbert 2022-08-24 22:20:39 +00:00
WebGLTextureUpload.cpp Backed out changeset 0a2985a48339 (bug 1769747) for causing gl failures. 2022-10-05 01:38:13 +03:00
WebGLTransformFeedback.cpp
WebGLTransformFeedback.h
WebGLTypes.h Bug 1825673 - Implement WEBGL_provoking_vertex. r=gfx-reviewers,webidl,lsalzman,saschanaz 2023-04-01 00:33:25 +00:00
WebGLValidateStrings.cpp
WebGLValidateStrings.h
WebGLVertexArray.cpp
WebGLVertexArray.h Bug 1779800 - Fix WebGL instancing in some cases on Mac. r=gfx-reviewers,lsalzman 2022-09-15 00:47:03 +00:00
WebGLVertexArrayFake.cpp Bug 1779800 - Fix WebGL instancing in some cases on Mac. r=gfx-reviewers,lsalzman 2022-09-15 00:47:03 +00:00
WebGLVertexArrayFake.h
WebGLVertexArrayGL.cpp
WebGLVertexArrayGL.h
XRWebGLLayer.cpp Bug 1805931, part 2 - Automated removal of uses of ROOT and UNROOT CC macros. r=smaug 2022-12-15 19:45:01 +00:00
XRWebGLLayer.h Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
moz.build Backed out changeset 0a2985a48339 (bug 1769747) for causing gl failures. 2022-10-05 01:38:13 +03:00
nsICanvasRenderingContextInternal.cpp Bug 1816189 - Part 4: Add random noise when extracting data from canvas element when canvas randomization is enabled. r=tjr,lsalzman 2023-05-08 14:04:35 +00:00
nsICanvasRenderingContextInternal.h Bug 1816189 - Part 4: Add random noise when extracting data from canvas element when canvas randomization is enabled. r=tjr,lsalzman 2023-05-08 14:04:35 +00:00