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

Unified Diff: Source/core/style/StyleBoxData.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 | « Source/core/style/FillLayer.cpp ('k') | Source/core/style/StyleRareInheritedData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/StyleBoxData.cpp
diff --git a/Source/core/style/StyleBoxData.cpp b/Source/core/style/StyleBoxData.cpp
index ac8b32e8796b4a9dd896a2c79bb0ed492ea65939..502d52349c32c2219ca01453d777b3c8645e1e8b 100644
--- a/Source/core/style/StyleBoxData.cpp
+++ b/Source/core/style/StyleBoxData.cpp
@@ -23,16 +23,11 @@
#include "core/style/StyleBoxData.h"
#include "core/style/ComputedStyle.h"
+#include "wtf/SizeAssertions.h"
namespace blink {
-struct SameSizeAsStyleBoxData : public RefCounted<SameSizeAsStyleBoxData> {
- Length length[7];
- int m_zIndex;
- uint32_t bitfields;
-};
-
-static_assert(sizeof(StyleBoxData) == sizeof(SameSizeAsStyleBoxData), "StyleBoxData should stay small");
+ASSERT_SIZE(StyleBoxData, 68, 68);
StyleBoxData::StyleBoxData()
: m_minWidth(ComputedStyle::initialMinSize())
« no previous file with comments | « Source/core/style/FillLayer.cpp ('k') | Source/core/style/StyleRareInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698