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

Unified Diff: third_party/WebKit/Source/core/dom/CompositorProxy.cpp

Issue 1477023003: Refactor the Heap into ThreadHeap to prepare for per thread heaps Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/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))

Powered by Google App Engine
This is Rietveld 408576698