Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: Source/core/testing/NullExecutionContext.cpp

Issue 559553002: Merge ExecutionContextClient and ExecutionContext (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@tmp1
Patch Set: Rebased Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/testing/NullExecutionContext.h ('k') | Source/core/workers/WorkerConsole.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/NullExecutionContext.cpp
diff --git a/Source/core/testing/NullExecutionContext.cpp b/Source/core/testing/NullExecutionContext.cpp
index 00d79dff1e1004fd37940dcf8b8fb2f756df928d..028c049dd1e437348a5d853f4bbb63ae08365607 100644
--- a/Source/core/testing/NullExecutionContext.cpp
+++ b/Source/core/testing/NullExecutionContext.cpp
@@ -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
« no previous file with comments | « Source/core/testing/NullExecutionContext.h ('k') | Source/core/workers/WorkerConsole.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698