Title: [183745] trunk/Tools
- Revision
- 183745
- Author
- [email protected]
- Date
- 2015-05-04 08:20:41 -0700 (Mon, 04 May 2015)
Log Message
Remove dead code from TestInvocationCairo.cpp
https://bugs.webkit.org/show_bug.cgi?id=144564
Reviewed by Gyuyoung Kim.
Only EFL and GTK port use TestInvocationCairo.cpp, there isn't other platform.
* WebKitTestRunner/cairo/TestInvocationCairo.cpp:
(WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (183744 => 183745)
--- trunk/Tools/ChangeLog 2015-05-04 13:30:18 UTC (rev 183744)
+++ trunk/Tools/ChangeLog 2015-05-04 15:20:41 UTC (rev 183745)
@@ -1,3 +1,15 @@
+2015-05-04 Csaba Osztrogonác <[email protected]>
+
+ Remove dead code from TestInvocationCairo.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=144564
+
+ Reviewed by Gyuyoung Kim.
+
+ Only EFL and GTK port use TestInvocationCairo.cpp, there isn't other platform.
+
+ * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
+ (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
+
2015-05-04 Joonghun Park <[email protected]>
[GTK] Add libnotify in gtk install-dependencies
Modified: trunk/Tools/WebKitTestRunner/cairo/TestInvocationCairo.cpp (183744 => 183745)
--- trunk/Tools/WebKitTestRunner/cairo/TestInvocationCairo.cpp 2015-05-04 13:30:18 UTC (rev 183744)
+++ trunk/Tools/WebKitTestRunner/cairo/TestInvocationCairo.cpp 2015-05-04 15:20:41 UTC (rev 183745)
@@ -106,14 +106,9 @@
cairo_destroy(context);
}
-void TestInvocation::dumpPixelsAndCompareWithExpected(WKImageRef wkImage, WKArrayRef repaintRects)
+void TestInvocation::dumpPixelsAndCompareWithExpected(WKImageRef, WKArrayRef repaintRects)
{
-#if PLATFORM(EFL) || PLATFORM(GTK)
- UNUSED_PARAM(wkImage);
cairo_surface_t* surface = WKImageCreateCairoSurface(TestController::singleton().mainWebView()->windowSnapshotImage().get());
-#else
- cairo_surface_t* surface = WKImageCreateCairoSurface(wkImage);
-#endif
if (repaintRects)
paintRepaintRectOverlay(surface, repaintRects);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes