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

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

Issue 211023002: DevTools: Remove event Console.messageRepeatCountUpdated (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix inspector-protocol/console/console-timestamp.html Created 6 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/inspector/ScriptCallFrame.h ('k') | Source/core/inspector/ScriptCallStack.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) 2010 Google Inc. All rights reserved. 2 * Copyright (c) 2010 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 28 matching lines...) Expand all
39 , m_scriptName(scriptName) 39 , m_scriptName(scriptName)
40 , m_lineNumber(lineNumber) 40 , m_lineNumber(lineNumber)
41 , m_column(column) 41 , m_column(column)
42 { 42 {
43 } 43 }
44 44
45 ScriptCallFrame::~ScriptCallFrame() 45 ScriptCallFrame::~ScriptCallFrame()
46 { 46 {
47 } 47 }
48 48
49 bool ScriptCallFrame::isEqual(const ScriptCallFrame& o) const
50 {
51 return m_functionName == o.m_functionName
52 && m_scriptId == o.m_scriptId
53 && m_scriptName == o.m_scriptName
54 && m_lineNumber == o.m_lineNumber;
55 }
56
57 PassRefPtr<TypeBuilder::Console::CallFrame> ScriptCallFrame::buildInspectorObjec t() const 49 PassRefPtr<TypeBuilder::Console::CallFrame> ScriptCallFrame::buildInspectorObjec t() const
58 { 50 {
59 return TypeBuilder::Console::CallFrame::create() 51 return TypeBuilder::Console::CallFrame::create()
60 .setFunctionName(m_functionName) 52 .setFunctionName(m_functionName)
61 .setScriptId(m_scriptId) 53 .setScriptId(m_scriptId)
62 .setUrl(m_scriptName) 54 .setUrl(m_scriptName)
63 .setLineNumber(m_lineNumber) 55 .setLineNumber(m_lineNumber)
64 .setColumnNumber(m_column) 56 .setColumnNumber(m_column)
65 .release(); 57 .release();
66 } 58 }
67 59
68 } // namespace WebCore 60 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/inspector/ScriptCallFrame.h ('k') | Source/core/inspector/ScriptCallStack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698