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

Unified Diff: third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/visual-update.js

Issue 2964563002: Removing --disable/enable-threaded-compositing cmdline switches.
Patch Set: Created 3 years, 6 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: third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/visual-update.js
diff --git a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/visual-update.js b/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/visual-update.js
deleted file mode 100644
index 0e663de8ca839313508924b101c60e3dc2f92b03..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/visual-update.js
+++ /dev/null
@@ -1,23 +0,0 @@
-self.onmessage = function(msg) {
- awaitProxyInit(msg.data.proxy).then((proxy) => {
- proxy.opacity = 0.5;
- var transform = proxy.transform;
- transform.m42 = 100.0;
- proxy.transform = transform;
- proxy.scrollLeft = 100;
- proxy.scrollTop = 100;
- postMessage({});
- });
-}
-
-function awaitProxyInit(proxy) {
- return new Promise((resolve, reject) => {
- function check() {
- if (proxy.initialized)
- resolve(proxy);
- else
- requestAnimationFrame(check);
- }
- requestAnimationFrame(check);
- });
-}

Powered by Google App Engine
This is Rietveld 408576698