mirror of
https://git.freebsd.org/ports.git
synced 2025-06-13 00:30:33 -04:00
20 lines
728 B
C++
20 lines
728 B
C++
--- cc/trees/property_tree.cc.orig 2019-03-11 22:00:52 UTC
|
|
+++ cc/trees/property_tree.cc
|
|
@@ -1325,13 +1325,13 @@ gfx::ScrollOffset ScrollTree::MaxScrollOffset(int scro
|
|
|
|
gfx::Size clip_layer_bounds = container_bounds(scroll_node->id);
|
|
|
|
- gfx::ScrollOffset max_offset(
|
|
+ gfx::ScrollOffset _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());
|
|
- return max_offset;
|
|
+ _max_offset.Scale(1 / scale_factor);
|
|
+ _max_offset.SetToMax(gfx::ScrollOffset());
|
|
+ return _max_offset;
|
|
}
|
|
|
|
gfx::SizeF ScrollTree::scroll_bounds(int scroll_node_id) const {
|