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

Unified Diff: Source/core/css/CSSRule.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/css/CSSProperty.cpp ('k') | Source/core/css/CSSSelector.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSRule.cpp
diff --git a/Source/core/css/CSSRule.cpp b/Source/core/css/CSSRule.cpp
index 8631b5e77a6f59a6c6823e7fe221d10ea9c44d36..742722352e254001bf61fe3ebbca20c0687f7aaa 100644
--- a/Source/core/css/CSSRule.cpp
+++ b/Source/core/css/CSSRule.cpp
@@ -26,16 +26,11 @@
#include "core/css/StyleRule.h"
#include "core/css/StyleSheetContents.h"
#include "platform/NotImplemented.h"
+#include "wtf/SizeAssertions.h"
namespace blink {
-struct SameSizeAsCSSRule : public RefCountedWillBeGarbageCollectedFinalized<SameSizeAsCSSRule>, public ScriptWrappable {
- virtual ~SameSizeAsCSSRule();
- unsigned char bitfields;
- void* pointerUnion;
-};
-
-static_assert(sizeof(CSSRule) == sizeof(SameSizeAsCSSRule), "CSSRule should stay small");
+ASSERT_SIZE(CSSRule, 20, 32);
void CSSRule::setCSSText(const String&)
{
« no previous file with comments | « Source/core/css/CSSProperty.cpp ('k') | Source/core/css/CSSSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698