Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/CompositorProxy.cpp |
| diff --git a/third_party/WebKit/Source/core/dom/CompositorProxy.cpp b/third_party/WebKit/Source/core/dom/CompositorProxy.cpp |
| index f45d7ccd873781ab03c0e2647bde0a0d21b72021..93f02995ce06e6e885f89f92ea040fe537bf0179 100644 |
| --- a/third_party/WebKit/Source/core/dom/CompositorProxy.cpp |
| +++ b/third_party/WebKit/Source/core/dom/CompositorProxy.cpp |
| @@ -216,6 +216,7 @@ void CompositorProxy::setScrollTop(double scrollTop, ExceptionState& exceptionSt |
| void CompositorProxy::setTransform(DOMMatrix* transform, ExceptionState& exceptionState) |
| { |
| + ASSERT(ThreadState::forObject(transform) == ThreadState::forObject(this)); |
|
haraken
2016/01/07 08:06:21
Is this useful?
|
| if (raiseExceptionIfMutationNotAllowed(exceptionState)) |
| return; |
| if (raiseExceptionIfNotMutable(static_cast<uint32_t>(WebCompositorMutablePropertyTransform), exceptionState)) |