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

Unified Diff: third_party/WebKit/Source/core/html/HTMLLinkElement.cpp

Issue 1903803002: Do not block painting for in-body CSS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed merge conflict Created 4 years, 7 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/HTMLLinkElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
index aefe6d43065b5ef79ebfa74ec83b5bd2d40fcf47..759d5c49cc27f72c7c483ab28128a28edfa88c00 100644
--- a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
@@ -622,7 +622,7 @@ void LinkStyle::addPendingSheet(PendingSheetType type)
if (m_pendingSheetType == NonBlocking)
return;
- m_owner->document().styleEngine().addPendingSheet();
+ m_owner->document().styleEngine().addPendingSheet(m_styleEngineContext);
}
void LinkStyle::removePendingSheet()
@@ -638,7 +638,7 @@ void LinkStyle::removePendingSheet()
return;
}
- m_owner->document().styleEngine().removePendingSheet(m_owner);
+ m_owner->document().styleEngine().removePendingSheet(m_owner, m_styleEngineContext);
}
void LinkStyle::setDisabledState(bool disabled)
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLLinkElement.h ('k') | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698