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..fa5de243f42abe8e0371f6f5b350ea244c984478 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 |
@@ -1,7 +1,8 @@ |
onmessage = function(msg) { |
var proxy = msg.data; |
- if (typeof proxy == "CompositorProxy") |
- postMessage({type: "error"}); |
- else |
- postMessage({type: 'response', opacity: proxy.supports('opacity'), transform: proxy.supports('transform')}); |
+ postMessage({ |
+ opacity: proxy.supports("opacity"), |
+ transform: proxy.supports("transform"), |
+ proxy: proxy |
+ }); |
} |