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

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2556993005: [blink] Split TaskType::Internal into InternalTimer and InternalLoading. (Closed)
Patch Set: One more fix Created 4 years 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/dom/TaskRunnerHelper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 4ffc72475f1c82ab79acda020a9e116141c2ab00..75ef7d8352e567f23480f82d8df0fc6a40b1f3bf 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -421,7 +421,7 @@ Document::Document(const DocumentInit& initializer,
m_compatibilityModeLocked(false),
m_hasAutofocused(false),
m_clearFocusedElementTimer(
- TaskRunnerHelper::get(TaskType::Internal, this),
+ TaskRunnerHelper::get(TaskType::UnspecedTimer, this),
this,
&Document::clearFocusedElementTimerFired),
m_domTreeVersion(++s_globalTreeVersion),
@@ -442,7 +442,7 @@ Document::Document(const DocumentInit& initializer,
m_throwOnDynamicMarkupInsertionCount(0),
m_markers(new DocumentMarkerController(*this)),
m_updateFocusAppearanceTimer(
- TaskRunnerHelper::get(TaskType::Internal, this),
+ TaskRunnerHelper::get(TaskType::UnspecedTimer, this),
this,
&Document::updateFocusAppearanceTimerFired),
m_cssTarget(nullptr),
@@ -469,22 +469,23 @@ Document::Document(const DocumentInit& initializer,
m_loadEventDelayTimer(TaskRunnerHelper::get(TaskType::Networking, this),
this,
&Document::loadEventDelayTimerFired),
- m_pluginLoadingTimer(TaskRunnerHelper::get(TaskType::Internal, this),
- this,
- &Document::pluginLoadingTimerFired),
+ m_pluginLoadingTimer(
+ TaskRunnerHelper::get(TaskType::UnspecedLoading, this),
+ this,
+ &Document::pluginLoadingTimerFired),
m_documentTiming(*this),
m_writeRecursionIsTooDeep(false),
m_writeRecursionDepth(0),
m_registrationContext(initializer.registrationContext(this)),
m_elementDataCacheClearTimer(
- TaskRunnerHelper::get(TaskType::Internal, this),
+ TaskRunnerHelper::get(TaskType::UnspecedTimer, this),
this,
&Document::elementDataCacheClearTimerFired),
m_timeline(DocumentTimeline::create(this)),
m_compositorPendingAnimations(new CompositorPendingAnimations()),
m_templateDocumentHost(nullptr),
m_didAssociateFormControlsTimer(
- TaskRunnerHelper::get(TaskType::Internal, this),
+ TaskRunnerHelper::get(TaskType::UnspecedLoading, this),
this,
&Document::didAssociateFormControlsTimerFired),
m_timers(TaskRunnerHelper::get(TaskType::Timer, this)->clone()),
@@ -4363,7 +4364,7 @@ void Document::sendSensitiveInputVisibility() {
return;
m_sensitiveInputVisibilityTask =
- TaskRunnerHelper::get(TaskType::Internal, this)
+ TaskRunnerHelper::get(TaskType::UnspecedLoading, this)
->postCancellableTask(
BLINK_FROM_HERE,
WTF::bind(&Document::sendSensitiveInputVisibilityInternal,
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/TaskRunnerHelper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698