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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h

Issue 2119033003: Fix alignment issue of ContiguousContainer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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/platform/graphics/paint/DrawingDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h
index b2aed26cadea437e4ba0962d07a4ba658122e0fe..147d6783948a85594b219c5d2c9d3b9946da4af1 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h
@@ -13,7 +13,7 @@
namespace blink {
-class PLATFORM_EXPORT DrawingDisplayItem final : public DisplayItem {
+class PLATFORM_EXPORT DrawingDisplayItem final : public DisplayItemBase<DrawingDisplayItem> {
public:
#if ENABLE(ASSERT)
enum UnderInvalidationCheckingMode {
@@ -30,7 +30,7 @@ public:
, UnderInvalidationCheckingMode underInvalidationCheckingMode = CheckPicture
#endif
)
- : DisplayItem(client, type, sizeof(*this))
+ : DisplayItemBase(client, type)
, m_picture(picture && picture->approximateOpCount() ? picture : nullptr)
, m_knownToBeOpaque(knownToBeOpaque)
#if ENABLE(ASSERT)

Powered by Google App Engine
This is Rietveld 408576698