Bug 109742

Summary: CSSPreloadScanner should not depend on HTMLToken
Product: WebKit Reporter: Adam Barth <abarth>
Component: New BugsAssignee: Adam Barth <abarth>
Status: RESOLVED FIXED    
Severity: Normal CC: eric, ojan.autocc, tonyg, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 106127    
Attachments:
Description Flags
Patch none

Description Adam Barth 2013-02-13 13:21:47 PST
CSSPreloadScanner should not depend on HTMLToken
Comment 1 Adam Barth 2013-02-13 13:23:02 PST
Created attachment 188162 [details]
Patch
Comment 2 Eric Seidel (no email) 2013-02-13 13:27:48 PST
Comment on attachment 188162 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=188162&action=review

> Source/WebCore/html/parser/CSSPreloadScanner.cpp:61
> +void CSSPreloadScanner::scan(const LChar* begin, const LChar* end, Vector<OwnPtr<PreloadRequest> >& requests)

This is just a template. :)

> Source/WebCore/html/parser/CSSPreloadScanner.h:44
> +    void scan(const LChar* begin, const LChar* end, Vector<OwnPtr<PreloadRequest> >&);

This isn't currently used, or?
Comment 3 Adam Barth 2013-02-13 13:28:35 PST
(In reply to comment #2)
> (From update of attachment 188162 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=188162&action=review
> 
> > Source/WebCore/html/parser/CSSPreloadScanner.cpp:61
> > +void CSSPreloadScanner::scan(const LChar* begin, const LChar* end, Vector<OwnPtr<PreloadRequest> >& requests)
> 
> This is just a template. :)

Yes.  ;)

> > Source/WebCore/html/parser/CSSPreloadScanner.h:44
> > +    void scan(const LChar* begin, const LChar* end, Vector<OwnPtr<PreloadRequest> >&);
> 
> This isn't currently used, or?

Current unused.  I can add it later when we need it if you like.
Comment 4 WebKit Review Bot 2013-02-13 14:42:08 PST
Comment on attachment 188162 [details]
Patch

Clearing flags on attachment: 188162

Committed r142803: <http://trac.webkit.org/changeset/142803>
Comment 5 WebKit Review Bot 2013-02-13 14:42:12 PST
All reviewed patches have been landed.  Closing bug.