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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.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/ForeignLayerDisplayItem.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp
index 5a47632e84757b9515c1abba250ba22caf2a80cd..73141d76e7c0a8370f4e431c4f924d3ad8f005ab 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp
@@ -17,7 +17,7 @@ ForeignLayerDisplayItem::ForeignLayerDisplayItem(
const DisplayItemClient& client, Type type,
scoped_refptr<cc::Layer> layer,
const FloatPoint& location, const IntSize& bounds)
- : DisplayItem(client, type, sizeof(*this))
+ : DisplayItemBase(client, type)
, m_layer(std::move(layer))
, m_location(location)
, m_bounds(bounds)

Powered by Google App Engine
This is Rietveld 408576698