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

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

Issue 2596343002: Use Unthrottled instead of DOMManipulation in HTMLLinkElement/HTMLStyleElement (Closed)
Patch Set: Use Unthrottled 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 8b7d3d5e3425bd9e2d031572dd665ad0d613bdb9..2dfd1d454949f16c96e2aef344fdb68593579243 100644
--- a/third_party/WebKit/Source/core/html/HTMLStyleElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLStyleElement.cpp
@@ -117,7 +117,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(
« 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