BUILD FIX (r154578): Return Vector<String>() from Pasteboard::types() for iOS
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Aug 2013 19:43:55 +0000 (19:43 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Aug 2013 19:43:55 +0000 (19:43 +0000)
* platform/ios/PasteboardIOS.mm:
(WebCore::Pasteboard::types): Return Vector<String>() instead of
ListHashSet<String>() after r154578.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@154579 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/ios/PasteboardIOS.mm

index 84a6b738f9229c93d2b1a7997045474628a01346..14b7ae4812b415ee5b8b4bfc4038b501a7e1ea00 100644 (file)
@@ -1,3 +1,11 @@
+2013-08-25  David Kilzer  <ddkilzer@apple.com>
+
+        BUILD FIX (r154578): Return Vector<String>() from Pasteboard::types() for iOS
+
+        * platform/ios/PasteboardIOS.mm:
+        (WebCore::Pasteboard::types): Return Vector<String>() instead of
+        ListHashSet<String>() after r154578.
+
 2013-08-25  Darin Adler  <darin@apple.com>
 
         Make JavaScript binding for Clipboard::types more normal
index f32b947db46851a02e94d7be7b1c39a5d4b2f855..22d3987c3f1e7a47b6a37d073cf4a458e66176b5 100644 (file)
@@ -615,7 +615,7 @@ Vector<String> Pasteboard::types()
     // Enforce changeCount ourselves for security. We check after reading instead of before to be
     // sure it doesn't change between our testing the change count and accessing the data.
     if (m_changeCount != m_frame->editor().client()->pasteboardChangeCount())
-        return ListHashSet<String>();
+        return Vector<String>();
 
     ListHashSet<String> result;
     NSUInteger count = [types count];