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

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

Issue 2314633002: Remove unused and deprecated methods in TaskRunnerHelper (Closed)
Patch Set: Created 4 years, 3 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/dom/TaskRunnerHelper.h ('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/dom/TaskRunnerHelper.cpp
diff --git a/third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp b/third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp
index 5d6de3e72d2db434f4f3ed1cbe423ab34454c8f7..0cfbf3e78941b732d7fb633dce2b97bd0eaf426d 100644
--- a/third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp
+++ b/third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp
@@ -56,44 +56,4 @@ WebTaskRunner* TaskRunnerHelper::get(TaskType type, ScriptState* scriptState)
return get(type, scriptState ? scriptState->getExecutionContext() : nullptr);
}
-WebTaskRunner* TaskRunnerHelper::getUnthrottledTaskRunner(LocalFrame* frame)
-{
- return frame ? frame->frameScheduler()->unthrottledTaskRunner() : Platform::current()->currentThread()->getWebTaskRunner();
-}
-
-WebTaskRunner* TaskRunnerHelper::getTimerTaskRunner(LocalFrame* frame)
-{
- return frame ? frame->frameScheduler()->timerTaskRunner() : Platform::current()->currentThread()->getWebTaskRunner();
-}
-
-WebTaskRunner* TaskRunnerHelper::getLoadingTaskRunner(LocalFrame* frame)
-{
- return frame ? frame->frameScheduler()->loadingTaskRunner() : Platform::current()->currentThread()->getWebTaskRunner();
-}
-
-WebTaskRunner* TaskRunnerHelper::getUnthrottledTaskRunner(Document* document)
-{
- return getUnthrottledTaskRunner(document ? document->frame() : nullptr);
-}
-
-WebTaskRunner* TaskRunnerHelper::getTimerTaskRunner(Document* document)
-{
- return getTimerTaskRunner(document ? document->frame() : nullptr);
-}
-
-WebTaskRunner* TaskRunnerHelper::getLoadingTaskRunner(Document* document)
-{
- return getLoadingTaskRunner(document ? document->frame() : nullptr);
-}
-
-WebTaskRunner* TaskRunnerHelper::getUnthrottledTaskRunner(ExecutionContext* executionContext)
-{
- return getUnthrottledTaskRunner(executionContext && executionContext->isDocument() ? static_cast<Document*>(executionContext) : nullptr);
-}
-
-WebTaskRunner* TaskRunnerHelper::getUnthrottledTaskRunner(ScriptState* scriptState)
-{
- return getUnthrottledTaskRunner(scriptState ? scriptState->getExecutionContext() : nullptr);
-}
-
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/dom/TaskRunnerHelper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698