| OLD | NEW |
| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 return millisecondsToSeconds( | 195 return millisecondsToSeconds( |
| 196 m_private->timing() | 196 m_private->timing() |
| 197 ->parseBlockedOnScriptExecutionFromDocumentWriteDuration()); | 197 ->parseBlockedOnScriptExecutionFromDocumentWriteDuration()); |
| 198 } | 198 } |
| 199 | 199 |
| 200 double WebPerformance::authorStyleSheetParseDurationBeforeFCP() const { | 200 double WebPerformance::authorStyleSheetParseDurationBeforeFCP() const { |
| 201 return millisecondsToSeconds( | 201 return millisecondsToSeconds( |
| 202 m_private->timing()->authorStyleSheetParseDurationBeforeFCP()); | 202 m_private->timing()->authorStyleSheetParseDurationBeforeFCP()); |
| 203 } | 203 } |
| 204 | 204 |
| 205 double WebPerformance::updateStyleDurationBeforeFCP() const { |
| 206 return millisecondsToSeconds( |
| 207 m_private->timing()->updateStyleDurationBeforeFCP()); |
| 208 } |
| 209 |
| 205 WebPerformance::WebPerformance(Performance* performance) | 210 WebPerformance::WebPerformance(Performance* performance) |
| 206 : m_private(performance) {} | 211 : m_private(performance) {} |
| 207 | 212 |
| 208 WebPerformance& WebPerformance::operator=(Performance* performance) { | 213 WebPerformance& WebPerformance::operator=(Performance* performance) { |
| 209 m_private = performance; | 214 m_private = performance; |
| 210 return *this; | 215 return *this; |
| 211 } | 216 } |
| 212 | 217 |
| 213 } // namespace blink | 218 } // namespace blink |
| OLD | NEW |