Upstream version 11.39.250.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / dom / Document.cpp
index be81d14..8aacbbb 100644 (file)
@@ -3894,6 +3894,13 @@ void Document::enqueueMediaQueryChangeListeners(WillBeHeapVector<RefPtrWillBeMem
     ensureScriptedAnimationController().enqueueMediaQueryChangeListeners(listeners);
 }
 
+void Document::dispatchEventsForPrinting()
+{
+    if (!m_scriptedAnimationController)
+        return;
+    m_scriptedAnimationController->dispatchEventsAndCallbacksForPrinting();
+}
+
 Document::EventFactorySet& Document::eventFactories()
 {
     DEFINE_STATIC_LOCAL(EventFactorySet, s_eventFactory, ());