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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp

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/DisplayItemList.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp
index d7292ad64408c455867d8c40a39da4eb7981ce11..1c913efd7318b9ed8c056d0a63e3f34610de1b77 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp
@@ -24,7 +24,7 @@ DisplayItem& DisplayItemList::appendByMoving(DisplayItem& item, const IntRect& v
String originalDebugString = item.asDebugString();
#endif
ASSERT(item.hasValidClient());
- DisplayItem& result = ContiguousContainer::appendByMoving(item, item.derivedSize());
+ DisplayItem& result = ContiguousContainer::appendByMoving(item, item.derivedSize(), item.derivedLog2Alignment());
// ContiguousContainer::appendByMoving() calls an in-place constructor
// on item which replaces it with a tombstone/"dead display item" that
// can be safely destructed but should never be used.

Powered by Google App Engine
This is Rietveld 408576698