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

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

Issue 2641263002: Use Unthrottled instead of DOMManipulation in HTMLLinkElement/HTMLStyleElement (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLLinkElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/HTMLStyleElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLStyleElement.cpp b/third_party/WebKit/Source/core/html/HTMLStyleElement.cpp
index d3b1f7f60e7d91a49bc874ca05ee8f9b2a3de1bc..0a9785506d69fdeb498229b2eb82518642f1958b 100644
--- a/third_party/WebKit/Source/core/html/HTMLStyleElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLStyleElement.cpp
@@ -119,7 +119,9 @@ void HTMLStyleElement::notifyLoadedSheetAndAllCriticalSubresources(
if (m_firedLoad && isLoadEvent)
return;
m_loadedSheet = isLoadEvent;
- TaskRunnerHelper::get(TaskType::DOMManipulation, &document())
+ // TODO(hiroshige): Use DOMManipulation task runner. Unthrottled
+ // is temporarily used for fixing https://crbug.com/649942 only on M-56.
+ TaskRunnerHelper::get(TaskType::Unthrottled, &document())
->postTask(
BLINK_FROM_HERE,
WTF::bind(&HTMLStyleElement::dispatchPendingEvent,
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLLinkElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698