| Index: Source/core/workers/WorkerContext.h
|
| diff --git a/Source/core/workers/WorkerContext.h b/Source/core/workers/WorkerContext.h
|
| index febfca0a14cc791f2af1aa1cc737cf9e8d8bee7f..a015af3204ddc58bff9462b7c22093011469b757 100644
|
| --- a/Source/core/workers/WorkerContext.h
|
| +++ b/Source/core/workers/WorkerContext.h
|
| @@ -135,8 +135,10 @@ namespace WebCore {
|
|
|
| virtual const SecurityOrigin* topOrigin() const OVERRIDE { return m_topOrigin.get(); }
|
|
|
| + double timeOrigin() const { return m_timeOrigin; }
|
| +
|
| protected:
|
| - WorkerContext(const KURL&, const String& userAgent, PassOwnPtr<GroupSettings>, WorkerThread*, PassRefPtr<SecurityOrigin> topOrigin);
|
| + WorkerContext(const KURL&, const String& userAgent, PassOwnPtr<GroupSettings>, WorkerThread*, PassRefPtr<SecurityOrigin> topOrigin, double timeOrigin);
|
| void applyContentSecurityPolicyFromString(const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType);
|
|
|
| virtual void logExceptionToConsole(const String& errorMessage, const String& sourceURL, int lineNumber, PassRefPtr<ScriptCallStack>) OVERRIDE;
|
| @@ -179,6 +181,8 @@ namespace WebCore {
|
| OwnPtr<WorkerEventQueue> m_eventQueue;
|
|
|
| RefPtr<SecurityOrigin> m_topOrigin;
|
| +
|
| + double m_timeOrigin;
|
| };
|
|
|
| } // namespace WebCore
|
|
|