Index: third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
index 272792f0bfc983330a361a6099b6eb6bacce6efa..6258ba0295f29d99ebec2496bd733cdef78d6ad7 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
@@ -140,8 +140,11 @@ |
} |
bool IsSkippingCache() const { return skipping_cache_count_; } |
- // Must be called when a painting is finished. |
- void CommitNewDisplayItems(); |
+ // Must be called when a painting is finished. |offsetFromLayoutObject| is the |
+ // offset between the space of the GraphicsLayer which owns this |
+ // PaintController and the coordinate space of the owning LayoutObject. |
+ void CommitNewDisplayItems( |
+ const LayoutSize& offset_from_layout_object = LayoutSize()); |
// Returns the approximate memory usage, excluding memory likely to be |
// shared with the embedder after copying to WebPaintController. |
@@ -182,8 +185,10 @@ |
// the last commitNewDisplayItems(). Use with care. |
DisplayItemList& NewDisplayItemList() { return new_display_item_list_; } |
- void AppendDebugDrawingAfterCommit(const DisplayItemClient&, |
- sk_sp<PaintRecord>); |
+ void AppendDebugDrawingAfterCommit( |
+ const DisplayItemClient&, |
+ sk_sp<PaintRecord>, |
+ const LayoutSize& offset_from_layout_object); |
void ShowDebugData() const { ShowDebugDataInternal(false); } |
#ifndef NDEBUG |