List platforms that still use the legacy clipboard instead of just saying "not Mac"
https://bugs.webkit.org/show_bug.cgi?id=116177

Reviewed by Andreas Kling.

* dom/Clipboard.h: Replaced the "!MAC || IOS" with a list of platforms still on the
legacy model.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index c4cb1eb..ce19427 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,13 @@
+2013-05-15  Darin Adler  <darin@apple.com>
+
+        List platforms that still use the legacy clipboard instead of just saying "not Mac"
+        https://bugs.webkit.org/show_bug.cgi?id=116177
+
+        Reviewed by Andreas Kling.
+
+        * dom/Clipboard.h: Replaced the "!MAC || IOS" with a list of platforms still on the
+        legacy model.
+
 2013-05-15  Yongjun Zhang  <yongjun_zhang@apple.com>
 
         We should clear mainResource in DocumentLoader::cancelMainResourceLoad.
diff --git a/Source/WebCore/dom/Clipboard.h b/Source/WebCore/dom/Clipboard.h
index ac33cf5..8214307 100644
--- a/Source/WebCore/dom/Clipboard.h
+++ b/Source/WebCore/dom/Clipboard.h
@@ -34,7 +34,7 @@
 // This DOM object now works by calling through to classes in the platform layer.
 // Specifically, the class currently named Pasteboard. The legacy style instead
 // uses this as an abstract base class.
-#define WTF_USE_LEGACY_STYLE_ABSTRACT_CLIPBOARD_CLASS (!PLATFORM(MAC) || PLATFORM(IOS))
+#define WTF_USE_LEGACY_STYLE_ABSTRACT_CLIPBOARD_CLASS (PLATFORM(BLACKBERRY) || PLATFORM(EFL) || PLATFORM(GTK) || PLATFORM(IOS) || PLATFORM(QT) || PLATFORM(WIN))
 
 #if USE(LEGACY_STYLE_ABSTRACT_CLIPBOARD_CLASS)
 #define LEGACY_VIRTUAL virtual