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

Unified Diff: Source/web/WebKit.cpp

Issue 153813002: Support "await a stable state" and "provide a stable state" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nits Created 6 years, 10 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/html/parser/HTMLScriptRunner.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebKit.cpp
diff --git a/Source/web/WebKit.cpp b/Source/web/WebKit.cpp
index 20d46b142af65a7a0af47ea59de1706c38c91ce0..eebcc00082e983981d1a598db54ea34d5db7447a 100644
--- a/Source/web/WebKit.cpp
+++ b/Source/web/WebKit.cpp
@@ -39,8 +39,9 @@
#include "bindings/v8/V8RecursionScope.h"
#include "core/Init.h"
#include "core/dom/Microtask.h"
-#include "core/page/Page.h"
#include "core/frame/Settings.h"
+#include "core/html/StableState.h"
+#include "core/page/Page.h"
#include "core/workers/WorkerGlobalScopeProxy.h"
#include "heap/Heap.h"
#include "heap/glue/MessageLoopInterruptor.h"
@@ -70,6 +71,7 @@ public:
virtual void didProcessTask()
{
WebCore::Microtask::performCheckpoint();
+ WebCore::StableState::provide();
}
};
« no previous file with comments | « Source/core/html/parser/HTMLScriptRunner.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698