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

Side by Side Diff: third_party/WebKit/Source/core/inspector/ConsoleMessage.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 #include "core/inspector/ConsoleMessage.h" 5 #include "core/inspector/ConsoleMessage.h"
6 6
7 #include "bindings/core/v8/ScriptCallStack.h" 7 #include "bindings/core/v8/ScriptCallStack.h"
8 #include "bindings/core/v8/ScriptValue.h" 8 #include "bindings/core/v8/ScriptValue.h"
9 #include "core/inspector/ScriptArguments.h" 9 #include "core/inspector/ScriptArguments.h"
10 #include "wtf/CurrentTime.h" 10 #include "wtf/CurrentTime.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 { 115 {
116 if (m_scriptState) 116 if (m_scriptState)
117 m_scriptState->clear(); 117 m_scriptState->clear();
118 118
119 if (scriptState) 119 if (scriptState)
120 m_scriptState = adoptPtr(new ScriptStateProtectingContext(scriptState)); 120 m_scriptState = adoptPtr(new ScriptStateProtectingContext(scriptState));
121 else 121 else
122 m_scriptState.clear(); 122 m_scriptState.clear();
123 } 123 }
124 124
125 PassRefPtrWillBeRawPtr<ScriptArguments> ConsoleMessage::scriptArguments() const 125 RawPtr<ScriptArguments> ConsoleMessage::scriptArguments() const
126 { 126 {
127 return m_scriptArguments; 127 return m_scriptArguments;
128 } 128 }
129 129
130 void ConsoleMessage::setScriptArguments(PassRefPtrWillBeRawPtr<ScriptArguments> scriptArguments) 130 void ConsoleMessage::setScriptArguments(RawPtr<ScriptArguments> scriptArguments)
131 { 131 {
132 m_scriptArguments = scriptArguments; 132 m_scriptArguments = scriptArguments;
133 } 133 }
134 134
135 unsigned long ConsoleMessage::requestIdentifier() const 135 unsigned long ConsoleMessage::requestIdentifier() const
136 { 136 {
137 return m_requestIdentifier; 137 return m_requestIdentifier;
138 } 138 }
139 139
140 void ConsoleMessage::setRequestIdentifier(unsigned long requestIdentifier) 140 void ConsoleMessage::setRequestIdentifier(unsigned long requestIdentifier)
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 if (!m_callStack) 208 if (!m_callStack)
209 setCallStack(ScriptCallStack::captureForConsole()); 209 setCallStack(ScriptCallStack::captureForConsole());
210 } 210 }
211 211
212 DEFINE_TRACE(ConsoleMessage) 212 DEFINE_TRACE(ConsoleMessage)
213 { 213 {
214 visitor->trace(m_scriptArguments); 214 visitor->trace(m_scriptArguments);
215 } 215 }
216 216
217 } // namespace blink 217 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698