Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp |
| diff --git a/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp b/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp |
| index 65aca21855cf57ef77f0deb8a28a7a81dd7de2a6..05702a7d4cf8766d6537cfb8282c3a5d64153d0a 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp |
| +++ b/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp |
| @@ -90,6 +90,7 @@ void ContentLayerDelegate::PaintContents( |
| graphics_layer_->Paint(nullptr, disabled_mode); |
| paint_controller.GetPaintArtifact().AppendToWebDisplayItemList( |
| + graphics_layer_->OffsetFromLayoutObjectWithSubpixelAccumulation(), |
|
wkorman
2017/05/19 00:55:08
Does this add some small overhead vs. ToT, as (I t
Xianzhu
2017/05/19 01:25:11
Good catch.
The overhead happens when the Graphic
|
| web_display_item_list); |
| paint_controller.SetDisplayItemConstructionIsDisabled(false); |