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

Side by Side Diff: third_party/WebKit/Source/core/inspector/AsyncOperationMap.h

Issue 1377813002: Oilpan: fix build after r351269. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use a WeakPersistent<InjectedScriptManager> instead Created 5 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef AsyncOperationMap_h 5 #ifndef AsyncOperationMap_h
6 #define AsyncOperationMap_h 6 #define AsyncOperationMap_h
7 7
8 #include "core/inspector/v8/V8DebuggerAgent.h" 8 #include "core/inspector/v8/V8DebuggerAgent.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "wtf/HashMap.h" 10 #include "wtf/HashMap.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 void remove(typename MapType::KeyPeekInType key) 68 void remove(typename MapType::KeyPeekInType key)
69 { 69 {
70 ASSERT(m_debuggerAgent); 70 ASSERT(m_debuggerAgent);
71 int operationId = m_asyncOperations.take(key); 71 int operationId = m_asyncOperations.take(key);
72 if (operationId) 72 if (operationId)
73 m_debuggerAgent->traceAsyncOperationCompleted(operationId); 73 m_debuggerAgent->traceAsyncOperationCompleted(operationId);
74 } 74 }
75 75
76 DEFINE_INLINE_TRACE() 76 DEFINE_INLINE_TRACE()
77 { 77 {
78 visitor->trace(m_debuggerAgent);
79 visitor->trace(m_asyncOperations); 78 visitor->trace(m_asyncOperations);
80 } 79 }
81 80
82 private: 81 private:
83 RawPtrWillBeMember<V8DebuggerAgent> m_debuggerAgent; 82 V8DebuggerAgent* m_debuggerAgent;
84 MapType m_asyncOperations; 83 MapType m_asyncOperations;
85 }; 84 };
86 85
87 } // namespace blink 86 } // namespace blink
88 87
89 88
90 #endif // AsyncOperationMap_h 89 #endif // AsyncOperationMap_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698