Provide default implementations of Image and Icon
[WebKit-https.git] / Source / WebCore / platform / graphics / Icon.cpp
similarity index 90%
rename from Source/WebCore/platform/graphics/wpe/IconWPE.cpp
rename to Source/WebCore/platform/graphics/Icon.cpp
index 76a21da..5d3ca83 100644 (file)
@@ -26,6 +26,8 @@
 #include "config.h"
 #include "Icon.h"
 
+#if !PLATFORM(GTK) && !PLATFORM(IOS_FAMILY) && !PLATFORM(MAC) && !PLATFORM(WIN)
+
 namespace WebCore {
 
 Icon::~Icon() = default;
@@ -40,3 +42,5 @@ RefPtr<Icon> Icon::createIconForFiles(const Vector<String>&)
 }
 
 } // namespace WebCore
+
+#endif // !PLATFORM(GTK) && !PLATFORM(IOS_FAMILY) && !PLATFORM(MAC) && !PLATFORM(WIN)