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

Side by Side Diff: Source/core/dom/ExecutionContext.cpp

Issue 1008113002: Remove LifecycleNotifier<>::m_context. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « Source/core/dom/ExecutionContext.h ('k') | Source/core/frame/DOMWindowLifecycleNotifier.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/dom/ExecutionContext.h ('k') | Source/core/frame/DOMWindowLifecycleNotifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698