Index: Source/core/dom/shadow/ShadowRoot.cpp |
diff --git a/Source/core/dom/shadow/ShadowRoot.cpp b/Source/core/dom/shadow/ShadowRoot.cpp |
index d346a20aa456d01395b2979695a07ddf88d4cb23..23674072ddfd184b8478d2c43e28ccc187f9b7d1 100644 |
--- a/Source/core/dom/shadow/ShadowRoot.cpp |
+++ b/Source/core/dom/shadow/ShadowRoot.cpp |
@@ -48,7 +48,7 @@ struct SameSizeAsShadowRoot : public DocumentFragment, public TreeScope, public |
unsigned countersAndFlags[1]; |
}; |
-COMPILE_ASSERT(sizeof(ShadowRoot) == sizeof(SameSizeAsShadowRoot), shadowroot_should_stay_small); |
+static_assert(sizeof(ShadowRoot) == sizeof(SameSizeAsShadowRoot), "ShadowRoot should stay small"); |
ShadowRoot::ShadowRoot(Document& document, ShadowRootType type) |
: DocumentFragment(0, CreateShadowRoot) |