| Index: Source/platform/scroll/ScrollableArea.cpp
|
| diff --git a/Source/platform/scroll/ScrollableArea.cpp b/Source/platform/scroll/ScrollableArea.cpp
|
| index 324499011a62f40bca0b7400a0d4eebbb8c02e67..512c940a98e734fef9c03e4860b370c72b220522 100644
|
| --- a/Source/platform/scroll/ScrollableArea.cpp
|
| +++ b/Source/platform/scroll/ScrollableArea.cpp
|
| @@ -41,6 +41,7 @@
|
| #include "platform/scroll/ProgrammaticScrollAnimator.h"
|
| #include "platform/scroll/ScrollbarTheme.h"
|
| #include "wtf/PassOwnPtr.h"
|
| +#include "wtf/SizeAssertions.h"
|
|
|
| #include "platform/TraceEvent.h"
|
|
|
| @@ -49,18 +50,7 @@ static const float kMinFractionToStepWhenPaging = 0.875f;
|
|
|
| namespace blink {
|
|
|
| -struct SameSizeAsScrollableArea {
|
| - virtual ~SameSizeAsScrollableArea();
|
| - IntRect scrollbarDamage[2];
|
| -#if ENABLE(ASSERT) && ENABLE(OILPAN)
|
| - VerifyEagerFinalization verifyEager;
|
| -#endif
|
| - void* pointer;
|
| - unsigned bitfields : 16;
|
| - IntPoint origin;
|
| -};
|
| -
|
| -static_assert(sizeof(ScrollableArea) == sizeof(SameSizeAsScrollableArea), "ScrollableArea should stay small");
|
| +ASSERT_SIZE(ScrollableArea, 52, 64);
|
|
|
| int ScrollableArea::pixelsPerLineStep()
|
| {
|
|
|