Commit 788bbfa3 authored by beidson@apple.com's avatar beidson@apple.com

2008-03-28 Brady Eidson <beidson@apple.com>

        Reviewed by Sam Weinig

        Remove unused [WebArchiver archiveNode:], made obsolete in r31400

        * WebView/WebArchiver.h:
        * WebView/WebArchiver.mm:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31401 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f4058d68
2008-03-28 Brady Eidson <beidson@apple.com>
Reviewed by Sam Weinig
Remove unused [WebArchiver archiveNode:], made obsolete in r31400
* WebView/WebArchiver.h:
* WebView/WebArchiver.mm:
2008-03-28 Brady Eidson <beidson@apple.com> 2008-03-28 Brady Eidson <beidson@apple.com>
Reviewed by Darin Reviewed by Darin
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
{ {
} }
+ (WebArchive *)archiveNode:(DOMNode *)node;
+ (WebArchive *)archiveRange:(DOMRange *)range; + (WebArchive *)archiveRange:(DOMRange *)range;
+ (WebArchive *)archiveSelectionInFrame:(WebFrame *)frame; + (WebArchive *)archiveSelectionInFrame:(WebFrame *)frame;
+ (WebArchive *)archiveFrame:(WebFrame *)frame; + (WebArchive *)archiveFrame:(WebFrame *)frame;
......
...@@ -72,14 +72,6 @@ using namespace WebCore; ...@@ -72,14 +72,6 @@ using namespace WebCore;
return [self _archiveWithMarkupString:markupString fromFrame:frame nodes:nodes]; return [self _archiveWithMarkupString:markupString fromFrame:frame nodes:nodes];
} }
+ (WebArchive *)archiveNode:(DOMNode *)node
{
WebFrame *frame = [[node ownerDocument] webFrame];
NSArray *nodes;
NSString *markupString = [frame _markupStringFromNode:node nodes:&nodes];
return [self _archiveWithMarkupString:markupString fromFrame:frame nodes:nodes];
}
+ (WebArchive *)archiveSelectionInFrame:(WebFrame *)frame + (WebArchive *)archiveSelectionInFrame:(WebFrame *)frame
{ {
Frame* coreFrame = core(frame); Frame* coreFrame = core(frame);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment