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

Unified Diff: Source/core/css/CSSProperty.cpp

Issue 1317143005: [WIP] do something :-) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | Source/core/css/CSSRule.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSProperty.cpp
diff --git a/Source/core/css/CSSProperty.cpp b/Source/core/css/CSSProperty.cpp
index bed5ff87ceff9310c414a3b1db30b3c727964036..455b838a7a6373daa4b513bf09908f4802e1b43b 100644
--- a/Source/core/css/CSSProperty.cpp
+++ b/Source/core/css/CSSProperty.cpp
@@ -23,15 +23,11 @@
#include "core/StylePropertyShorthand.h"
#include "core/style/ComputedStyleConstants.h"
+#include "wtf/SizeAssertions.h"
namespace blink {
-struct SameSizeAsCSSProperty {
- uint32_t bitfields;
- void* value;
-};
-
-static_assert(sizeof(CSSProperty) == sizeof(SameSizeAsCSSProperty), "CSSProperty should stay small");
+ASSERT_SIZE(CSSProperty, 8, 16);
CSSPropertyID StylePropertyMetadata::shorthandID() const
{
« no previous file with comments | « no previous file | Source/core/css/CSSRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698