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

Unified Diff: third_party/WebKit/public/platform/WebViewScheduler.h

Issue 2192493002: Let blink scheduler know when background parsing a document (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix some test failures Created 4 years, 5 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 | « third_party/WebKit/public/platform/WebFrameScheduler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebViewScheduler.h
diff --git a/third_party/WebKit/public/platform/WebViewScheduler.h b/third_party/WebKit/public/platform/WebViewScheduler.h
index 37eb20dfc945b1dc57b5dfa7a8d4db98410db2fd..29c6c538dbbf357dec0df1e0044467062cbaf772 100644
--- a/third_party/WebKit/public/platform/WebViewScheduler.h
+++ b/third_party/WebKit/public/platform/WebViewScheduler.h
@@ -53,8 +53,9 @@ public:
PAUSE,
// In this policy virtual time is allowed to advance unless there are pending network
- // fetches associated any child WebFrameScheduler.
- PAUSE_IF_NETWORK_FETCHES_PENDING
+ // fetches associated any child WebFrameScheduler, or a document is being parsed on a
+ // background thread. The aim being to try and make loading (more) deterministic.
+ DETERMINISTIC_LOADING
};
// Sets the virtual time policy, which is applied imemdiatly to all child WebFrameSchedulers.
« no previous file with comments | « third_party/WebKit/public/platform/WebFrameScheduler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698