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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.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/SubsequenceDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h
index e3e9ad52f008a8dca049b04ca6bd78a9733498ce..34afdb2923dec088b0f6a7efa09dc24a963b0c97 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h
@@ -11,17 +11,17 @@
namespace blink {
-class BeginSubsequenceDisplayItem final : public PairedBeginDisplayItem {
+class BeginSubsequenceDisplayItem final : public PairedBeginDisplayItem<BeginSubsequenceDisplayItem> {
public:
BeginSubsequenceDisplayItem(const DisplayItemClient& client)
- : PairedBeginDisplayItem(client, Subsequence, sizeof(*this))
+ : PairedBeginDisplayItem(client, Subsequence)
{ }
};
-class EndSubsequenceDisplayItem final : public PairedEndDisplayItem {
+class EndSubsequenceDisplayItem final : public PairedEndDisplayItem<EndSubsequenceDisplayItem> {
public:
EndSubsequenceDisplayItem(const DisplayItemClient& client)
- : PairedEndDisplayItem(client, EndSubsequence, sizeof(*this))
+ : PairedEndDisplayItem(client, EndSubsequence)
{ }
#if ENABLE(ASSERT)

Powered by Google App Engine
This is Rietveld 408576698