| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Intel Inc. All rights reserved. | 2 * Copyright (C) 2012 Intel 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 return convertToEntrySequence(m_measuresMap); | 200 return convertToEntrySequence(m_measuresMap); |
| 201 } | 201 } |
| 202 | 202 |
| 203 PerformanceEntryVector UserTiming::getMeasures(const String& name) const | 203 PerformanceEntryVector UserTiming::getMeasures(const String& name) const |
| 204 { | 204 { |
| 205 return getEntrySequenceByName(m_measuresMap, name); | 205 return getEntrySequenceByName(m_measuresMap, name); |
| 206 } | 206 } |
| 207 | 207 |
| 208 void UserTiming::trace(Visitor* visitor) | 208 void UserTiming::trace(Visitor* visitor) |
| 209 { | 209 { |
| 210 #if ENABLE(OILPAN) |
| 210 visitor->trace(m_performance); | 211 visitor->trace(m_performance); |
| 211 visitor->trace(m_marksMap); | 212 visitor->trace(m_marksMap); |
| 212 visitor->trace(m_measuresMap); | 213 visitor->trace(m_measuresMap); |
| 214 #endif |
| 213 } | 215 } |
| 214 | 216 |
| 215 } // namespace blink | 217 } // namespace blink |
| OLD | NEW |