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

Unified Diff: third_party/WebKit/Source/core/html/HTMLLinkElement.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 | « no previous file | third_party/WebKit/Source/core/html/HTMLStyleElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 06a8129631ec454bb9090660d522cbdf78bc5917..f9b95975186f91d20fe8e07c05d80a7353deddd3 100644
--- a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
@@ -291,7 +291,9 @@ void HTMLLinkElement::dispatchPendingEvent(
}
void HTMLLinkElement::scheduleEvent() {
- 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(&HTMLLinkElement::dispatchPendingEvent,
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLStyleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698