Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / testing / NullExecutionContext.cpp
index 00d79df..028c049 100644 (file)
@@ -5,7 +5,9 @@
 #include "config.h"
 #include "core/testing/NullExecutionContext.h"
 
+#include "core/dom/ExecutionContextTask.h"
 #include "core/events/Event.h"
+#include "core/frame/DOMTimer.h"
 
 namespace blink {
 
@@ -28,4 +30,13 @@ NullExecutionContext::NullExecutionContext()
 {
 }
 
+void NullExecutionContext::postTask(PassOwnPtr<ExecutionContextTask>)
+{
+}
+
+double NullExecutionContext::timerAlignmentInterval() const
+{
+    return DOMTimer::visiblePageAlignmentInterval();
+}
+
 } // namespace blink