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

Side by Side Diff: Source/core/timing/PerformanceBase.cpp

Issue 1238083002: Oilpan: Move the EventListener hierarchy to Oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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) 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 double nowSeconds = monotonicallyIncreasingTime() - m_timeOrigin; 324 double nowSeconds = monotonicallyIncreasingTime() - m_timeOrigin;
325 const double resolutionSeconds = 0.000005; 325 const double resolutionSeconds = 0.000005;
326 return 1000.0 * floor(nowSeconds / resolutionSeconds) * resolutionSeconds; 326 return 1000.0 * floor(nowSeconds / resolutionSeconds) * resolutionSeconds;
327 } 327 }
328 328
329 DEFINE_TRACE(PerformanceBase) 329 DEFINE_TRACE(PerformanceBase)
330 { 330 {
331 visitor->trace(m_frameTimingBuffer); 331 visitor->trace(m_frameTimingBuffer);
332 visitor->trace(m_resourceTimingBuffer); 332 visitor->trace(m_resourceTimingBuffer);
333 visitor->trace(m_userTiming); 333 visitor->trace(m_userTiming);
334 EventTargetWithInlineData::trace(visitor); 334 RefCountedGarbageCollectedEventTargetWithInlineData<PerformanceBase>::trace( visitor);
335 } 335 }
336 336
337 } // namespace blink 337 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698