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

Unified Diff: third_party/WebKit/Source/core/html/HTMLLinkElement.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 | « 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 d564e57e3482b3d804ab031337dd41c3daabbf14..0895da435489bb4a7721caaa105c9ceec8b06124 100644
--- a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
@@ -289,7 +289,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(
« 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