| Index: third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp b/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp
|
| index e3b0069e3c6a779baa84539e34bd8020aba99c97..45350386d4e17be0743a0b2d1c5ebbe83bb4670c 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp
|
| @@ -98,6 +98,9 @@ inline void CSSPreloadScanner::tokenize(UChar c,
|
| const SegmentedString& source) {
|
| // We are just interested in @import rules, no need for real tokenization here
|
| // Searching for other types of resources is probably low payoff.
|
| + // If we ever decide to preload fonts, we also need to change
|
| + // ResourceFetcher::resourceNeedsLoad to immediately load speculative font
|
| + // preloads.
|
| switch (m_state) {
|
| case Initial:
|
| if (isHTMLSpace<UChar>(c))
|
|
|