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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 } | 59 } |
60 String m_errorMessage; | 60 String m_errorMessage; |
61 int m_lineNumber; | 61 int m_lineNumber; |
62 int m_columnNumber; | 62 int m_columnNumber; |
63 int m_scriptId; | 63 int m_scriptId; |
64 String m_sourceURL; | 64 String m_sourceURL; |
65 RefPtrWillBeMember<ScriptCallStack> m_callStack; | 65 RefPtrWillBeMember<ScriptCallStack> m_callStack; |
66 }; | 66 }; |
67 | 67 |
68 ExecutionContext::ExecutionContext() | 68 ExecutionContext::ExecutionContext() |
69 : ContextLifecycleNotifier(this) | 69 : m_circularSequentialID(0) |
70 , m_circularSequentialID(0) | |
71 , m_inDispatchErrorEvent(false) | 70 , m_inDispatchErrorEvent(false) |
72 , m_activeDOMObjectsAreSuspended(false) | 71 , m_activeDOMObjectsAreSuspended(false) |
73 , m_activeDOMObjectsAreStopped(false) | 72 , m_activeDOMObjectsAreStopped(false) |
74 , m_strictMixedContentCheckingEnforced(false) | 73 , m_strictMixedContentCheckingEnforced(false) |
75 , m_windowInteractionTokens(0) | 74 , m_windowInteractionTokens(0) |
76 { | 75 { |
77 } | 76 } |
78 | 77 |
79 ExecutionContext::~ExecutionContext() | 78 ExecutionContext::~ExecutionContext() |
80 { | 79 { |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 { | 224 { |
226 #if ENABLE(OILPAN) | 225 #if ENABLE(OILPAN) |
227 visitor->trace(m_pendingExceptions); | 226 visitor->trace(m_pendingExceptions); |
228 visitor->trace(m_publicURLManager); | 227 visitor->trace(m_publicURLManager); |
229 HeapSupplementable<ExecutionContext>::trace(visitor); | 228 HeapSupplementable<ExecutionContext>::trace(visitor); |
230 #endif | 229 #endif |
231 ContextLifecycleNotifier::trace(visitor); | 230 ContextLifecycleNotifier::trace(visitor); |
232 } | 231 } |
233 | 232 |
234 } // namespace blink | 233 } // namespace blink |
OLD | NEW |