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

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

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
4 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. 4 * Copyright (C) 2009, 2010 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 , m_timestamp(WTF::currentTime()) 73 , m_timestamp(WTF::currentTime())
74 { 74 {
75 autogenerateMetadata(canGenerateCallStack, state); 75 autogenerateMetadata(canGenerateCallStack, state);
76 } 76 }
77 77
78 ConsoleMessage::ConsoleMessage(bool, MessageSource source, MessageType type, Mes sageLevel level, const String& message, PassRefPtr<ScriptCallStack> callStack, u nsigned long requestIdentifier) 78 ConsoleMessage::ConsoleMessage(bool, MessageSource source, MessageType type, Mes sageLevel level, const String& message, PassRefPtr<ScriptCallStack> callStack, u nsigned long requestIdentifier)
79 : m_source(source) 79 : m_source(source)
80 , m_type(type) 80 , m_type(type)
81 , m_level(level) 81 , m_level(level)
82 , m_message(message) 82 , m_message(message)
83 , m_arguments(0) 83 , m_arguments(nullptr)
84 , m_line(0) 84 , m_line(0)
85 , m_column(0) 85 , m_column(0)
86 , m_repeatCount(1) 86 , m_repeatCount(1)
87 , m_requestId(IdentifiersFactory::requestId(requestIdentifier)) 87 , m_requestId(IdentifiersFactory::requestId(requestIdentifier))
88 , m_timestamp(WTF::currentTime()) 88 , m_timestamp(WTF::currentTime())
89 { 89 {
90 if (callStack && callStack->size()) { 90 if (callStack && callStack->size()) {
91 const ScriptCallFrame& frame = callStack->at(0); 91 const ScriptCallFrame& frame = callStack->at(0);
92 m_url = frame.sourceURL(); 92 m_url = frame.sourceURL();
93 m_line = frame.lineNumber(); 93 m_line = frame.lineNumber();
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 285
286 unsigned ConsoleMessage::argumentCount() 286 unsigned ConsoleMessage::argumentCount()
287 { 287 {
288 if (m_arguments) 288 if (m_arguments)
289 return m_arguments->argumentCount(); 289 return m_arguments->argumentCount();
290 return 0; 290 return 0;
291 } 291 }
292 292
293 } // namespace WebCore 293 } // namespace WebCore
294 294
OLDNEW
« no previous file with comments | « Source/core/inspector/CodeGeneratorInspectorStrings.py ('k') | Source/core/inspector/InjectedScript.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698