| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index b0d729f2f837f452c5c3dd0344440ca3d4aa6239..d354dc6d4adc241fec9ee25439ecc2b147f40b2c 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -5112,6 +5112,14 @@ void Document::pluginLoadingTimerFired(Timer<Document>*)
|
| updateLayout();
|
| }
|
|
|
| +double Document::monotonicTimeToZeroBasedDocumentTime(double monotonicTime) const
|
| +{
|
| + if (!loader())
|
| + return 0;
|
| +
|
| + return loader()->timing().monotonicTimeToZeroBasedDocumentTime(monotonicTime);
|
| +}
|
| +
|
| ScriptedAnimationController& Document::ensureScriptedAnimationController()
|
| {
|
| if (!m_scriptedAnimationController) {
|
|
|