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

Unified Diff: Source/WebKit/chromium/src/WorkerAllowMainThreadBridgeBase.h

Issue 17648006: Rename WorkerContext to WorkerGlobalScope (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 6 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
Index: Source/WebKit/chromium/src/WorkerAllowMainThreadBridgeBase.h
diff --git a/Source/WebKit/chromium/src/WorkerAllowMainThreadBridgeBase.h b/Source/WebKit/chromium/src/WorkerAllowMainThreadBridgeBase.h
index 005d6cc51940217d5cd56db117b5e918862d6e5e..3c9cd5a52c3472be6d1651717cd2cc2a27102862 100644
--- a/Source/WebKit/chromium/src/WorkerAllowMainThreadBridgeBase.h
+++ b/Source/WebKit/chromium/src/WorkerAllowMainThreadBridgeBase.h
@@ -31,17 +31,17 @@
#include "WebWorkerBase.h"
#include "core/dom/CrossThreadTask.h"
#include "core/platform/CrossThreadCopier.h"
-#include "core/workers/WorkerContext.h"
+#include "core/workers/WorkerGlobalScope.h"
namespace WebKit {
// Base class for worker thread bridges. This class adds an observer to
-// WorkerContext so that it doesn't try to use deleted pointers when
-// WorkerContext is destroyed.
+// WorkerGlobalScope so that it doesn't try to use deleted pointers when
+// WorkerGlobalScope is destroyed.
class WorkerAllowMainThreadBridgeBase : public ThreadSafeRefCounted<WorkerAllowMainThreadBridgeBase> {
WTF_MAKE_NONCOPYABLE(WorkerAllowMainThreadBridgeBase);
public:
- WorkerAllowMainThreadBridgeBase(WebCore::WorkerContext*, WebWorkerBase*);
+ WorkerAllowMainThreadBridgeBase(WebCore::WorkerGlobalScope*, WebWorkerBase*);
virtual ~WorkerAllowMainThreadBridgeBase()
{
@@ -86,7 +86,7 @@ private:
Mutex m_mutex;
WebWorkerBase* m_webWorkerBase;
- WebCore::WorkerContext::Observer* m_workerContextObserver;
+ WebCore::WorkerGlobalScope::Observer* m_workerGlobalScopeObserver;
bool m_result;
};
« no previous file with comments | « Source/WebKit/chromium/src/WebWorkerClientImpl.cpp ('k') | Source/WebKit/chromium/src/WorkerAllowMainThreadBridgeBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698