Title: [197388] trunk/Source/WebKit2
- Revision
- 197388
- Author
- [email protected]
- Date
- 2016-02-29 23:36:02 -0800 (Mon, 29 Feb 2016)
Log Message
ThreadSafeCoordinatedSurface: remove the unused private create() static method
https://bugs.webkit.org/show_bug.cgi?id=154792
Reviewed by Carlos Garcia Campos.
Remove the static ThreadSafeCoordinatedSurface::create() method that accepted
a std::unique_ptr<ImageBuffer> object as its third parameter. This was not used
anywhere.
* Shared/CoordinatedGraphics/threadedcompositor/ThreadSafeCoordinatedSurface.cpp:
(WebKit::ThreadSafeCoordinatedSurface::create): Deleted.
* Shared/CoordinatedGraphics/threadedcompositor/ThreadSafeCoordinatedSurface.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (197387 => 197388)
--- trunk/Source/WebKit2/ChangeLog 2016-03-01 07:32:29 UTC (rev 197387)
+++ trunk/Source/WebKit2/ChangeLog 2016-03-01 07:36:02 UTC (rev 197388)
@@ -1,3 +1,18 @@
+2016-02-29 Zan Dobersek <[email protected]>
+
+ ThreadSafeCoordinatedSurface: remove the unused private create() static method
+ https://bugs.webkit.org/show_bug.cgi?id=154792
+
+ Reviewed by Carlos Garcia Campos.
+
+ Remove the static ThreadSafeCoordinatedSurface::create() method that accepted
+ a std::unique_ptr<ImageBuffer> object as its third parameter. This was not used
+ anywhere.
+
+ * Shared/CoordinatedGraphics/threadedcompositor/ThreadSafeCoordinatedSurface.cpp:
+ (WebKit::ThreadSafeCoordinatedSurface::create): Deleted.
+ * Shared/CoordinatedGraphics/threadedcompositor/ThreadSafeCoordinatedSurface.h:
+
2016-02-29 Simon Fraser <[email protected]>
Remove the experimental feature of antialiased font dilation
Modified: trunk/Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadSafeCoordinatedSurface.cpp (197387 => 197388)
--- trunk/Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadSafeCoordinatedSurface.cpp 2016-03-01 07:32:29 UTC (rev 197387)
+++ trunk/Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadSafeCoordinatedSurface.cpp 2016-03-01 07:36:02 UTC (rev 197388)
@@ -42,11 +42,6 @@
return adoptRef(*new ThreadSafeCoordinatedSurface(size, flags, ImageBuffer::create(size, Unaccelerated)));
}
-Ref<ThreadSafeCoordinatedSurface> ThreadSafeCoordinatedSurface::create(const IntSize& size, CoordinatedSurface::Flags flags, std::unique_ptr<ImageBuffer> buffer)
-{
- return adoptRef(*new ThreadSafeCoordinatedSurface(size, flags, WTFMove(buffer)));
-}
-
ThreadSafeCoordinatedSurface::ThreadSafeCoordinatedSurface(const IntSize& size, CoordinatedSurface::Flags flags, std::unique_ptr<ImageBuffer> buffer)
: CoordinatedSurface(size, flags)
, m_imageBuffer(WTFMove(buffer))
Modified: trunk/Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadSafeCoordinatedSurface.h (197387 => 197388)
--- trunk/Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadSafeCoordinatedSurface.h 2016-03-01 07:32:29 UTC (rev 197387)
+++ trunk/Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadSafeCoordinatedSurface.h 2016-03-01 07:36:02 UTC (rev 197388)
@@ -48,9 +48,6 @@
WebCore::GraphicsContext& beginPaint(const WebCore::IntRect&);
void endPaint();
- // Create a ThreadSafeCoordinatedSurface referencing an exisiting ImageBuffer
- static Ref<ThreadSafeCoordinatedSurface> create(const WebCore::IntSize&, WebCore::CoordinatedSurface::Flags, std::unique_ptr<WebCore::ImageBuffer>);
-
std::unique_ptr<WebCore::ImageBuffer> m_imageBuffer;
};
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes