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

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineBox.cpp

Issue 2829683010: Optimize sizeof(InlineBox) by eliminating class layout padding (Closed)
Patch Set: Created 3 years, 8 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 | « third_party/WebKit/Source/core/layout/line/InlineBox.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/line/InlineBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/InlineBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineBox.cpp
index f2a566d20310132658678f453866991042842564..e09d0c95b72e42c462a7713807d336e72337079f 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/InlineBox.cpp
@@ -39,10 +39,10 @@ class LayoutObject;
struct SameSizeAsInlineBox : DisplayItemClient {
virtual ~SameSizeAsInlineBox() {}
- uint32_t bitfields;
void* a[4];
LayoutPoint b;
LayoutUnit c;
+ uint32_t bitfields;
#if DCHECK_IS_ON()
bool f;
#endif
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/InlineBox.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698