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

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

Issue 2041193005: [compositorworker] compositor proxy mutation updates underlying layers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-upstream-registration
Patch Set: Use RAII pattern Created 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 self.importScripts('worker-common.js');
2
3 self.onmessage = function(msg) {
4 awaitProxyInit(msg.data.proxy).then((proxy) => {
5 proxy.opacity = 0.5;
6 var transform = proxy.transform;
7 transform.m42 = 100.0;
8 proxy.transform = transform;
9 proxy.scrollLeft = 100;
10 proxy.scrollTop = 100;
11 postMessage({});
12 });
13 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698