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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableCell.cpp

Issue 1331533002: [poc] curve-filter Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix CanvasRenderingContext2D::createPattern crash for #40 Created 4 years, 11 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
Index: third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
index 94c76ba8a4e36fcc60ee08915c909c07a4eebc60..a4f3dbd863832d7ee1e8ffd52befe8def6022978 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
@@ -46,7 +46,7 @@ struct SameSizeAsLayoutTableCell : public LayoutBlockFlow {
};
static_assert(sizeof(LayoutTableCell) == sizeof(SameSizeAsLayoutTableCell), "LayoutTableCell should stay small");
-static_assert(sizeof(CollapsedBorderValue) == 8, "CollapsedBorderValue should stay small");
+static_assert(sizeof(CollapsedBorderValue) - sizeof(Color) <= 8, "CollapsedBorderValue should stay small");
LayoutTableCell::LayoutTableCell(Element* element)
: LayoutBlockFlow(element)
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698