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

Side by Side Diff: Source/core/timing/Performance.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
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | Source/core/timing/ResourceTimingInfo.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 * Copyright (C) 2012 Intel Inc. All rights reserved. 3 * Copyright (C) 2012 Intel Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 namespace WebCore { 45 namespace WebCore {
46 46
47 DEFINE_GC_INFO(Performance); 47 DEFINE_GC_INFO(Performance);
48 48
49 static const size_t defaultResourceTimingBufferSize = 150; 49 static const size_t defaultResourceTimingBufferSize = 150;
50 50
51 Performance::Performance(Frame* frame) 51 Performance::Performance(Frame* frame)
52 : DOMWindowProperty(frame) 52 : DOMWindowProperty(frame)
53 , m_resourceTimingBufferSize(defaultResourceTimingBufferSize) 53 , m_resourceTimingBufferSize(defaultResourceTimingBufferSize)
54 , m_referenceTime(frame->document()->loader()->timing()->referenceMonotonicT ime()) 54 , m_referenceTime(frame->document()->loader()->timing()->referenceMonotonicT ime())
55 , m_userTiming(0) 55 , m_userTiming(nullptr)
56 { 56 {
57 ASSERT(m_referenceTime); 57 ASSERT(m_referenceTime);
58 ScriptWrappable::init(this); 58 ScriptWrappable::init(this);
59 } 59 }
60 60
61 Performance::~Performance() 61 Performance::~Performance()
62 { 62 {
63 } 63 }
64 64
65 const AtomicString& Performance::interfaceName() const 65 const AtomicString& Performance::interfaceName() const
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 281
282 void Performance::trace(Visitor* visitor) 282 void Performance::trace(Visitor* visitor)
283 { 283 {
284 visitor->trace(m_navigation); 284 visitor->trace(m_navigation);
285 visitor->trace(m_timing); 285 visitor->trace(m_timing);
286 visitor->trace(m_resourceTimingBuffer); 286 visitor->trace(m_resourceTimingBuffer);
287 visitor->trace(m_userTiming); 287 visitor->trace(m_userTiming);
288 } 288 }
289 289
290 } // namespace WebCore 290 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | Source/core/timing/ResourceTimingInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698