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

Side by Side Diff: Source/core/inspector/ScriptCallStack.cpp

Issue 884753003: Fix template angle bracket syntax in inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Some more fixes Created 5 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
« no previous file with comments | « Source/core/inspector/ScriptCallStack.h ('k') | Source/core/inspector/ScriptProfile.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, Google Inc. All rights reserved. 2 * Copyright (c) 2008, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 PassRefPtrWillBeRawPtr<ScriptAsyncCallStack> ScriptCallStack::asyncCallStack() c onst 62 PassRefPtrWillBeRawPtr<ScriptAsyncCallStack> ScriptCallStack::asyncCallStack() c onst
63 { 63 {
64 return m_asyncCallStack; 64 return m_asyncCallStack;
65 } 65 }
66 66
67 void ScriptCallStack::setAsyncCallStack(PassRefPtrWillBeRawPtr<ScriptAsyncCallSt ack> asyncCallStack) 67 void ScriptCallStack::setAsyncCallStack(PassRefPtrWillBeRawPtr<ScriptAsyncCallSt ack> asyncCallStack)
68 { 68 {
69 m_asyncCallStack = asyncCallStack; 69 m_asyncCallStack = asyncCallStack;
70 } 70 }
71 71
72 PassRefPtr<TypeBuilder::Array<TypeBuilder::Console::CallFrame> > ScriptCallStack ::buildInspectorArray() const 72 PassRefPtr<TypeBuilder::Array<TypeBuilder::Console::CallFrame>> ScriptCallStack: :buildInspectorArray() const
73 { 73 {
74 RefPtr<TypeBuilder::Array<TypeBuilder::Console::CallFrame> > frames = TypeBu ilder::Array<TypeBuilder::Console::CallFrame>::create(); 74 RefPtr<TypeBuilder::Array<TypeBuilder::Console::CallFrame>> frames = TypeBui lder::Array<TypeBuilder::Console::CallFrame>::create();
75 for (size_t i = 0; i < m_frames.size(); i++) 75 for (size_t i = 0; i < m_frames.size(); i++)
76 frames->addItem(m_frames.at(i).buildInspectorObject()); 76 frames->addItem(m_frames.at(i).buildInspectorObject());
77 return frames; 77 return frames;
78 } 78 }
79 79
80 void ScriptCallStack::toTracedValue(TracedValue* value, const char* name) const 80 void ScriptCallStack::toTracedValue(TracedValue* value, const char* name) const
81 { 81 {
82 value->beginArray(name); 82 value->beginArray(name);
83 for (size_t i = 0; i < m_frames.size(); i++) 83 for (size_t i = 0; i < m_frames.size(); i++)
84 m_frames.at(i).toTracedValue(value); 84 m_frames.at(i).toTracedValue(value);
85 value->endArray(); 85 value->endArray();
86 } 86 }
87 87
88 void ScriptCallStack::trace(Visitor* visitor) 88 void ScriptCallStack::trace(Visitor* visitor)
89 { 89 {
90 visitor->trace(m_asyncCallStack); 90 visitor->trace(m_asyncCallStack);
91 } 91 }
92 92
93 } // namespace blink 93 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/inspector/ScriptCallStack.h ('k') | Source/core/inspector/ScriptProfile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698