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

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: assert more 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
Index: Source/web/WebKit.cpp
diff --git a/Source/web/WebKit.cpp b/Source/web/WebKit.cpp
index c2d1c7dfb77d28274624e80b8baf07ff2eea4b01..af3734ffff852e5cf23a71c0d86b94c9e0ed50ab 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();
}
};
« Source/core/html/StableState.cpp ('K') | « Source/core/html/parser/HTMLScriptRunner.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698