summaryrefslogtreecommitdiff
path: root/Tools/DumpRenderTree/PixelDumpSupport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/DumpRenderTree/PixelDumpSupport.cpp')
-rw-r--r--Tools/DumpRenderTree/PixelDumpSupport.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/DumpRenderTree/PixelDumpSupport.cpp b/Tools/DumpRenderTree/PixelDumpSupport.cpp
index aeb902ceb..ba619bbea 100644
--- a/Tools/DumpRenderTree/PixelDumpSupport.cpp
+++ b/Tools/DumpRenderTree/PixelDumpSupport.cpp
@@ -10,7 +10,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Apple Inc. ("Apple") nor the names of
+ * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
@@ -43,6 +43,7 @@
#include "PixelDumpSupportCairo.h"
#endif
+#if !PLATFORM(IOS)
void dumpWebViewAsPixelsAndCompareWithExpected(const std::string& expectedHash)
{
RefPtr<BitmapContext> context;
@@ -73,6 +74,7 @@ void dumpWebViewAsPixelsAndCompareWithExpected(const std::string& expectedHash)
if (dumpImage)
dumpBitmap(context.get(), actualHash);
}
+#endif
static void appendIntToVector(unsigned number, Vector<unsigned char>& vector)
{