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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.cpp

Issue 2050463003: Check if Member owner thread matches pointer thread and current thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 4 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/layout/LayoutObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
index 4f5050a4f42645b0e69f11d343740631e1392b88..5880af43145b94d421e9e626cb8cbc1455a7218c 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
@@ -130,7 +130,9 @@ struct SameSizeAsLayoutObject : DisplayItemClient {
LayoutPoint position; // Stores the previous position from the paint invalidation container.
};
+#if !DCHECK_IS_ON()
haraken 2016/08/16 13:27:13 Ditto.
keishi 2016/08/17 11:18:28 Done.
static_assert(sizeof(LayoutObject) == sizeof(SameSizeAsLayoutObject), "LayoutObject should stay small");
+#endif
bool LayoutObject::s_affectsParentBlock = false;

Powered by Google App Engine
This is Rietveld 408576698