Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(432)

Unified Diff: third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp

Issue 2381193004: Use sheetText() instead of decodedText() in the CSS preload scanner (Closed)
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 00cb0dbbef608c9414d2cebf47cf2a07a5fecd4f..9c1d3c612f0796af666e3d709e173c53185144b5 100644
--- a/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp
+++ b/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp
@@ -290,7 +290,7 @@ void CSSPreloaderResourceClient::scanCSS(
// augmented to take care of this case without performing an additional
// copy.
double startTime = monotonicallyIncreasingTimeMS();
- const String& chunk = resource->decodedText();
+ const String& chunk = resource->sheetText();
if (chunk.isNull())
return;
CSSPreloadScanner cssPreloadScanner;

Powered by Google App Engine
This is Rietveld 408576698