diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/graphics/compositing/paint_chunks_to_cc_layer.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/platform/graphics/compositing/paint_chunks_to_cc_layer.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/platform/graphics/compositing/paint_chunks_to_cc_layer.cc b/chromium/third_party/blink/renderer/platform/graphics/compositing/paint_chunks_to_cc_layer.cc index 91166a2dc78..2d5b100bf31 100644 --- a/chromium/third_party/blink/renderer/platform/graphics/compositing/paint_chunks_to_cc_layer.cc +++ b/chromium/third_party/blink/renderer/platform/graphics/compositing/paint_chunks_to_cc_layer.cc @@ -988,7 +988,8 @@ static gfx::Point MapSelectionBoundPoint(const IntPoint& point, .MapPoint(FloatPoint(point)); mapped_point.MoveBy(-layer_offset); - gfx::Point out_point(RoundedIntPoint(mapped_point)); + IntPoint tmpOutPoint = RoundedIntPoint(mapped_point); + gfx::Point out_point(tmpOutPoint.X(), tmpOutPoint.Y()); return out_point; } |