diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-08-24 12:15:48 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-08-28 13:30:04 +0000 |
commit | b014812705fc80bff0a5c120dfcef88f349816dc (patch) | |
tree | 25a2e2d9fa285f1add86aa333389a839f81a39ae /chromium/components/exo/surface.cc | |
parent | 9f4560b1027ae06fdb497023cdcaf91b8511fa74 (diff) | |
download | qtwebengine-chromium-b014812705fc80bff0a5c120dfcef88f349816dc.tar.gz |
BASELINE: Update Chromium to 68.0.3440.125
Change-Id: I23f19369e01f688e496f5bf179abb521ad73874f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/components/exo/surface.cc')
-rw-r--r-- | chromium/components/exo/surface.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chromium/components/exo/surface.cc b/chromium/components/exo/surface.cc index 560c71666ed..65d24608e12 100644 --- a/chromium/components/exo/surface.cc +++ b/chromium/components/exo/surface.cc @@ -576,8 +576,9 @@ void Surface::CommitSurfaceHierarchy(bool synchronized) { if (state_.input_region) { hit_test_region_ = *state_.input_region; hit_test_region_.Intersect(surface_hierarchy_content_bounds_); - } else + } else { hit_test_region_ = surface_hierarchy_content_bounds_; + } int outset = state_.input_outset; if (outset > 0) { @@ -727,7 +728,7 @@ Surface::State::State() {} Surface::State::~State() = default; -bool Surface::State::operator==(const State& other) { +bool Surface::State::operator==(const State& other) const { return other.opaque_region == opaque_region && other.input_region == input_region && other.buffer_scale == buffer_scale && @@ -843,9 +844,6 @@ void Surface::AppendContentsToFrame(const gfx::Point& origin, gfx::ConvertRectToPixel(device_scale_factor, damage_rect)); } - render_pass->output_rect.Union( - gfx::ConvertRectToPixel(device_scale_factor, output_rect)); - // Compute the total transformation from post-transform buffer coordinates to // target coordinates. SkMatrix viewport_to_target_matrix; |