Remove unnused WebDOMNodeOperationsInternal category.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 1 Jun 2013 09:48:33 +0000 (09:48 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 1 Jun 2013 09:48:33 +0000 (09:48 +0000)
<http://webkit.org/b/117105>

Reviewed by Ryosuke Niwa.

_subresourceURLs had no clients.

* DOM/WebDOMOperations.mm:

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

Source/WebKit/mac/ChangeLog
Source/WebKit/mac/DOM/WebDOMOperations.mm

index 87d26e6..147879c 100644 (file)
@@ -1,5 +1,16 @@
 2013-06-01  Andreas Kling  <akling@apple.com>
 
+        Remove unnused WebDOMNodeOperationsInternal category.
+        <http://webkit.org/b/117105>
+
+        Reviewed by Ryosuke Niwa.
+
+        _subresourceURLs had no clients.
+
+        * DOM/WebDOMOperations.mm:
+
+2013-06-01  Andreas Kling  <akling@apple.com>
+
         Move Node::hasID() and hasClass() to Element.
         <http://webkit.org/b/117104>
 
index 8341b31..9a27d9f 100644 (file)
@@ -132,26 +132,6 @@ bool WebFrameFilter::shouldIncludeSubframe(Frame* frame) const
 
 @end
 
-/* This doesn't appear to be used by anyone.  We should consider removing this. */
-@implementation DOMNode (WebDOMNodeOperationsInternal)
-
-- (NSArray *)_subresourceURLs
-{
-    ListHashSet<KURL> urls;
-    core(self)->getSubresourceURLs(urls);
-    if (!urls.size())
-        return nil;
-
-    NSMutableArray *array = [NSMutableArray arrayWithCapacity:urls.size()];
-    ListHashSet<KURL>::iterator end = urls.end();
-    for (ListHashSet<KURL>::iterator it = urls.begin(); it != end; ++it)
-        [array addObject:(NSURL *)*it];
-
-    return array;
-}
-
-@end
-
 @implementation DOMDocument (WebDOMDocumentOperations)
 
 - (WebFrame *)webFrame