summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-cc_trees_property__tree.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-cc_trees_property__tree.cc')
-rw-r--r--www/chromium/files/patch-cc_trees_property__tree.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/www/chromium/files/patch-cc_trees_property__tree.cc b/www/chromium/files/patch-cc_trees_property__tree.cc
index 1211a5a74f8f..78ee286a558a 100644
--- a/www/chromium/files/patch-cc_trees_property__tree.cc
+++ b/www/chromium/files/patch-cc_trees_property__tree.cc
@@ -1,19 +1,19 @@
---- cc/trees/property_tree.cc.orig 2021-04-14 18:40:48 UTC
+--- cc/trees/property_tree.cc.orig 2021-12-14 11:44:55 UTC
+++ cc/trees/property_tree.cc
-@@ -1299,13 +1299,13 @@ gfx::ScrollOffset ScrollTree::MaxScrollOffset(int scro
+@@ -1299,13 +1299,13 @@ gfx::Vector2dF ScrollTree::MaxScrollOffset(int scroll_
gfx::Size clip_layer_bounds = container_bounds(scroll_node->id);
-- gfx::ScrollOffset max_offset(
-+ gfx::ScrollOffset _max_offset(
+- gfx::Vector2dF max_offset(
++ gfx::Vector2dF _max_offset(
scaled_scroll_bounds.width() - clip_layer_bounds.width(),
scaled_scroll_bounds.height() - clip_layer_bounds.height());
- max_offset.Scale(1 / scale_factor);
-- max_offset.SetToMax(gfx::ScrollOffset());
+- max_offset.SetToMax(gfx::Vector2dF());
- return max_offset;
+ _max_offset.Scale(1 / scale_factor);
-+ _max_offset.SetToMax(gfx::ScrollOffset());
++ _max_offset.SetToMax(gfx::Vector2dF());
+ return _max_offset;
}