Title: [277861] trunk/Source/WebCore
- Revision
- 277861
- Author
- commit-qu...@webkit.org
- Date
- 2021-05-21 07:54:33 -0700 (Fri, 21 May 2021)
Log Message
Function paintRenderingResultsToCanvas expects a reference, not a
pointer. Fixed the compile error.
https://bugs.webkit.org/show_bug.cgi?id=226073
Patch by Eleni Maria Stea <es...@igalia.com> on 2021-05-21
Reviewed by Adrian Perez de Castro.
* platform/graphics/nicosia/texmap/NicosiaGCGLLayer.cpp:
(Nicosia::GCGLLayer::swapBuffersIfNeeded):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (277860 => 277861)
--- trunk/Source/WebCore/ChangeLog 2021-05-21 14:50:52 UTC (rev 277860)
+++ trunk/Source/WebCore/ChangeLog 2021-05-21 14:54:33 UTC (rev 277861)
@@ -1,5 +1,16 @@
2021-05-21 Eleni Maria Stea <es...@igalia.com>
+ Function paintRenderingResultsToCanvas expects a reference, not a
+ pointer. Fixed the compile error.
+ https://bugs.webkit.org/show_bug.cgi?id=226073
+
+ Reviewed by Adrian Perez de Castro.
+
+ * platform/graphics/nicosia/texmap/NicosiaGCGLLayer.cpp:
+ (Nicosia::GCGLLayer::swapBuffersIfNeeded):
+
+2021-05-21 Eleni Maria Stea <es...@igalia.com>
+
Fixed unreached end of function compiler warning in DataURLDecoder.
https://bugs.webkit.org/show_bug.cgi?id=226079
Modified: trunk/Source/WebCore/platform/graphics/nicosia/texmap/NicosiaGCGLLayer.cpp (277860 => 277861)
--- trunk/Source/WebCore/platform/graphics/nicosia/texmap/NicosiaGCGLLayer.cpp 2021-05-21 14:50:52 UTC (rev 277860)
+++ trunk/Source/WebCore/platform/graphics/nicosia/texmap/NicosiaGCGLLayer.cpp 2021-05-21 14:54:33 UTC (rev 277861)
@@ -81,11 +81,11 @@
IntSize textureSize(m_context.m_currentWidth, m_context.m_currentHeight);
TextureMapperGL::Flags flags = m_context.contextAttributes().alpha ? TextureMapperGL::ShouldBlend : 0;
#if USE(ANGLE)
- auto imageBuffer = ImageBuffer::create(textureSize, RenderingMode::Unaccelerated, 1, DestinationColorSpace::SRGB, PixelFormat::BGRA8);
+ RefPtr<WebCore::ImageBuffer> imageBuffer = ImageBuffer::create(textureSize, RenderingMode::Unaccelerated, 1, DestinationColorSpace::SRGB, PixelFormat::BGRA8);
if (!imageBuffer)
return;
- m_context.paintRenderingResultsToCanvas(imageBuffer.get());
+ m_context.paintRenderingResultsToCanvas(*imageBuffer.get());
RefPtr<Image> image = imageBuffer->copyImage(DontCopyBackingStore);
if (!image)
return;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes