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

Unified Diff: third_party/WebKit/Source/core/dom/ExecutionContext.h

Issue 2532013002: [SUSPENDED] Scheduler: Add deprecation comments on ExecutionContext::postTask() (Closed)
Patch Set: Created 4 years, 1 month 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
Index: third_party/WebKit/Source/core/dom/ExecutionContext.h
diff --git a/third_party/WebKit/Source/core/dom/ExecutionContext.h b/third_party/WebKit/Source/core/dom/ExecutionContext.h
index a5d91d53683c2d7557240b18fc795fa470421c01..2a21e39e32142d888a8ff229f80bddfcb9e01ae3 100644
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.h
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.h
@@ -92,6 +92,9 @@ class CORE_EXPORT ExecutionContext : public ContextLifecycleNotifier,
virtual void disableEval(const String& errorMessage) = 0;
virtual LocalDOMWindow* executingWindow() const { return 0; }
virtual String userAgent() const = 0;
+
+ // DEPRECATED: Please use TaskRunnerHelper or ParentFrameTaskRunners.
+ // (https://crbug.com/624696)
// Executes the task on context's thread asynchronously.
virtual void postTask(
const WebTraceLocation&,

Powered by Google App Engine
This is Rietveld 408576698