Changeset 142475 in webkit
- Timestamp:
- Feb 11, 2013 7:58:46 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r142474 r142475 1 2013-02-11 Eric Seidel <eric@webkit.org> 2 3 Rename PreloadTask to StartTagScanner to match its purpose 4 https://bugs.webkit.org/show_bug.cgi?id=109406 5 6 Reviewed by Sam Weinig. 7 8 As discussed in bug 107807. 9 10 * html/parser/HTMLPreloadScanner.cpp: 11 (WebCore::StartTagScanner::StartTagScanner): 12 (WebCore::StartTagScanner::processAttributes): 13 (WebCore::HTMLPreloadScanner::processToken): 14 1 15 2013-02-11 Vsevolod Vlasov <vsevik@chromium.org> 2 16 -
trunk/Source/WebCore/html/parser/HTMLPreloadScanner.cpp
r142427 r142475 54 54 } 55 55 56 class PreloadTask{56 class StartTagScanner { 57 57 public: 58 explicit PreloadTask(const AtomicString& tagName, const HTMLToken::AttributeList& attributes)58 explicit StartTagScanner(const AtomicString& tagName, const HTMLToken::AttributeList& attributes) 59 59 : m_tagName(tagName) 60 60 , m_linkIsStyleSheet(false) … … 70 70 && m_tagName != inputTag 71 71 && m_tagName != linkTag 72 && m_tagName != scriptTag 73 && m_tagName != baseTag) 72 && m_tagName != scriptTag) 74 73 return; 75 74 … … 300 299 return; 301 300 302 PreloadTask task(tagName, token.attributes());303 OwnPtr<PreloadRequest> request = task.createPreloadRequest(m_predictedBaseElementURL);301 StartTagScanner scanner(tagName, token.attributes()); 302 OwnPtr<PreloadRequest> request = scanner.createPreloadRequest(m_predictedBaseElementURL); 304 303 if (request) 305 304 requests.append(request.release());
Note: See TracChangeset
for help on using the changeset viewer.