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

Unified Diff: third_party/WebKit/Source/core/inspector/v8/V8StackTraceImpl.cpp

Issue 1696513002: DevTools: move protocol-related generators into inspector subfolder. (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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/v8/V8StackTraceImpl.cpp
diff --git a/third_party/WebKit/Source/core/inspector/v8/V8StackTraceImpl.cpp b/third_party/WebKit/Source/core/inspector/v8/V8StackTraceImpl.cpp
index cfb064c16a19909ec40f2bb679258af13f539a4c..3263c112078d63f84f324cb9b7b6c80841940df7 100644
--- a/third_party/WebKit/Source/core/inspector/v8/V8StackTraceImpl.cpp
+++ b/third_party/WebKit/Source/core/inspector/v8/V8StackTraceImpl.cpp
@@ -73,9 +73,9 @@ V8StackTraceImpl::Frame::~Frame()
// buildInspectorObject() and ScriptCallStack's toTracedValue() should set the same fields.
// If either of them is modified, the other should be also modified.
-PassRefPtr<TypeBuilder::Runtime::CallFrame> V8StackTraceImpl::Frame::buildInspectorObject() const
+PassRefPtr<protocol::TypeBuilder::Runtime::CallFrame> V8StackTraceImpl::Frame::buildInspectorObject() const
{
- return TypeBuilder::Runtime::CallFrame::create()
+ return protocol::TypeBuilder::Runtime::CallFrame::create()
.setFunctionName(m_functionName)
.setScriptId(m_scriptId)
.setUrl(m_scriptName)
@@ -157,13 +157,13 @@ String V8StackTraceImpl::topScriptId() const
return m_frames[0].m_scriptId;
}
-PassRefPtr<TypeBuilder::Runtime::StackTrace> V8StackTraceImpl::buildInspectorObject() const
+PassRefPtr<protocol::TypeBuilder::Runtime::StackTrace> V8StackTraceImpl::buildInspectorObject() const
{
- RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::CallFrame>> frames = TypeBuilder::Array<TypeBuilder::Runtime::CallFrame>::create();
+ RefPtr<protocol::TypeBuilder::Array<protocol::TypeBuilder::Runtime::CallFrame>> frames = protocol::TypeBuilder::Array<protocol::TypeBuilder::Runtime::CallFrame>::create();
for (size_t i = 0; i < m_frames.size(); i++)
frames->addItem(m_frames.at(i).buildInspectorObject());
- RefPtr<TypeBuilder::Runtime::StackTrace> stackTrace = TypeBuilder::Runtime::StackTrace::create()
+ RefPtr<protocol::TypeBuilder::Runtime::StackTrace> stackTrace = protocol::TypeBuilder::Runtime::StackTrace::create()
.setCallFrames(frames.release());
if (!m_description.isEmpty())
stackTrace->setDescription(m_description);

Powered by Google App Engine
This is Rietveld 408576698