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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerGlobalScope.h

Issue 2580743002: Worker: Clarify a target context of postTask in WorkerEventQueue (Closed)
Patch Set: use ExecutionContext::postTask 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 | « third_party/WebKit/Source/core/workers/WorkerEventQueue.cpp ('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/workers/WorkerGlobalScope.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
index a582d4489cbeebea5007b8040f55c7845b55d993..9059e9bd032285bc9e4d350c771092773c66de23 100644
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
@@ -124,10 +124,14 @@ class CORE_EXPORT WorkerGlobalScope : public EventTargetWithInlineData,
bool isContextThread() const final;
void disableEval(const String& errorMessage) final;
String userAgent() const final { return m_userAgent; }
+
+ // This is necessary to make parent's postTask visible.
+ using ExecutionContext::postTask;
void postTask(TaskType,
const WebTraceLocation&,
std::unique_ptr<ExecutionContextTask>,
const String& taskNameForInstrumentation) final;
+
DOMTimerCoordinator* timers() final { return &m_timers; }
SecurityContext& securityContext() final { return *this; }
void addConsoleMessage(ConsoleMessage*) final;
« no previous file with comments | « third_party/WebKit/Source/core/workers/WorkerEventQueue.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698