| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 m_private->timing()->parseBlockedOnScriptExecutionDuration()); | 190 m_private->timing()->parseBlockedOnScriptExecutionDuration()); |
| 191 } | 191 } |
| 192 | 192 |
| 193 double WebPerformance::parseBlockedOnScriptExecutionFromDocumentWriteDuration() | 193 double WebPerformance::parseBlockedOnScriptExecutionFromDocumentWriteDuration() |
| 194 const { | 194 const { |
| 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 { |
| 201 return millisecondsToSeconds( |
| 202 m_private->timing()->authorStyleSheetParseDurationBeforeFCP()); |
| 203 } |
| 204 |
| 200 WebPerformance::WebPerformance(Performance* performance) | 205 WebPerformance::WebPerformance(Performance* performance) |
| 201 : m_private(performance) {} | 206 : m_private(performance) {} |
| 202 | 207 |
| 203 WebPerformance& WebPerformance::operator=(Performance* performance) { | 208 WebPerformance& WebPerformance::operator=(Performance* performance) { |
| 204 m_private = performance; | 209 m_private = performance; |
| 205 return *this; | 210 return *this; |
| 206 } | 211 } |
| 207 | 212 |
| 208 } // namespace blink | 213 } // namespace blink |
| OLD | NEW |