Index: Source/core/platform/graphics/ImageBuffer.cpp |
diff --git a/Source/core/platform/graphics/ImageBuffer.cpp b/Source/core/platform/graphics/ImageBuffer.cpp |
index f481ec183bd96aee1b138353c9c37db3cd350d1d..e14d65ff13bc0abe46929fb1e09749643524fc72 100644 |
--- a/Source/core/platform/graphics/ImageBuffer.cpp |
+++ b/Source/core/platform/graphics/ImageBuffer.cpp |
@@ -33,7 +33,6 @@ |
#include "config.h" |
#include "core/platform/graphics/ImageBuffer.h" |
-#include "core/html/ImageData.h" |
#include "core/platform/MIMETypeRegistry.h" |
#include "core/platform/graphics/BitmapImage.h" |
#include "core/platform/graphics/Extensions3D.h" |
@@ -484,7 +483,7 @@ String ImageBuffer::toDataURL(const String& mimeType, const double* quality, Coo |
return "data:" + mimeType + ";base64," + base64Data; |
} |
-String ImageDataToDataURL(const ImageData& imageData, const String& mimeType, const double* quality) |
+String ImageDataToDataURL(const ImageDataBuffer& imageData, const String& mimeType, const double* quality) |
{ |
ASSERT(MIMETypeRegistry::isSupportedImageMIMETypeForEncoding(mimeType)); |