| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * Copyright (C) 2012 Google Inc. All Rights Reserved. | 3 * Copyright (C) 2012 Google Inc. All Rights Reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "core/dom/ExecutionContextTask.h" | 31 #include "core/dom/ExecutionContextTask.h" |
| 32 #include "core/events/ErrorEvent.h" | 32 #include "core/events/ErrorEvent.h" |
| 33 #include "core/events/EventTarget.h" | 33 #include "core/events/EventTarget.h" |
| 34 #include "core/fetch/MemoryCache.h" | 34 #include "core/fetch/MemoryCache.h" |
| 35 #include "core/frame/UseCounter.h" | 35 #include "core/frame/UseCounter.h" |
| 36 #include "core/html/PublicURLManager.h" | 36 #include "core/html/PublicURLManager.h" |
| 37 #include "core/inspector/InspectorInstrumentation.h" | 37 #include "core/inspector/InspectorInstrumentation.h" |
| 38 #include "core/origin_trials/OriginTrialContext.h" | 38 #include "core/origin_trials/OriginTrialContext.h" |
| 39 #include "core/workers/WorkerGlobalScope.h" | 39 #include "core/workers/WorkerGlobalScope.h" |
| 40 #include "core/workers/WorkerThread.h" | 40 #include "core/workers/WorkerThread.h" |
| 41 #include "wtf/MainThread.h" | |
| 42 | 41 |
| 43 namespace blink { | 42 namespace blink { |
| 44 | 43 |
| 45 class ExecutionContext::PendingException { | 44 class ExecutionContext::PendingException { |
| 46 WTF_MAKE_NONCOPYABLE(PendingException); | 45 WTF_MAKE_NONCOPYABLE(PendingException); |
| 47 public: | 46 public: |
| 48 PendingException(const String& errorMessage, int lineNumber, int columnNumbe
r, int scriptId, const String& sourceURL, PassRefPtr<ScriptCallStack> callStack) | 47 PendingException(const String& errorMessage, int lineNumber, int columnNumbe
r, int scriptId, const String& sourceURL, PassRefPtr<ScriptCallStack> callStack) |
| 49 : m_errorMessage(errorMessage) | 48 : m_errorMessage(errorMessage) |
| 50 , m_lineNumber(lineNumber) | 49 , m_lineNumber(lineNumber) |
| 51 , m_columnNumber(columnNumber) | 50 , m_columnNumber(columnNumber) |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 DEFINE_TRACE(ExecutionContext) | 277 DEFINE_TRACE(ExecutionContext) |
| 279 { | 278 { |
| 280 #if ENABLE(OILPAN) | 279 #if ENABLE(OILPAN) |
| 281 visitor->trace(m_publicURLManager); | 280 visitor->trace(m_publicURLManager); |
| 282 HeapSupplementable<ExecutionContext>::trace(visitor); | 281 HeapSupplementable<ExecutionContext>::trace(visitor); |
| 283 #endif | 282 #endif |
| 284 ContextLifecycleNotifier::trace(visitor); | 283 ContextLifecycleNotifier::trace(visitor); |
| 285 } | 284 } |
| 286 | 285 |
| 287 } // namespace blink | 286 } // namespace blink |
| OLD | NEW |