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

Unified Diff: third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/proxy-echo.js

Issue 1900423004: [compositorworker] Register compositor proxies with proxy client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/proxy-echo.js
diff --git a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/proxy-echo.js b/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/proxy-echo.js
index 7e5b6099fe5238f750cdafa91f8a6a0b95f4cabd..95ee9e81b7b008750c3f1d216262e037a4d9bda3 100644
--- a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/proxy-echo.js
+++ b/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/proxy-echo.js
@@ -3,5 +3,10 @@ onmessage = function(msg) {
if (typeof proxy == "CompositorProxy")
jbroman 2016/06/09 21:13:47 By the way, what's this condition checking? How ca
majidvp 2016/06/10 15:33:47 Done. + some other minor cleanups.
postMessage({type: "error"});
else
- postMessage({type: 'response', opacity: proxy.supports('opacity'), transform: proxy.supports('transform')});
+ postMessage({
+ type: "response",
+ opacity: proxy.supports("opacity"),
+ transform: proxy.supports("transform"),
+ proxy: proxy
+ });
}

Powered by Google App Engine
This is Rietveld 408576698