| Index: cc/resources/tile.h
|
| diff --git a/cc/resources/tile.h b/cc/resources/tile.h
|
| index c6413677eb9cff8a8d506c80722705060ddd904e..230952aa5837d25034ee84f794e342cf50c052a4 100644
|
| --- a/cc/resources/tile.h
|
| +++ b/cc/resources/tile.h
|
| @@ -66,6 +66,10 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> {
|
| void set_shared(bool is_shared) { is_shared_ = is_shared; }
|
| bool is_shared() const { return is_shared_; }
|
|
|
| + bool is_active_and_visible_priority() const {
|
| + return priority(ACTIVE_TREE).distance_to_visible == 0.f;
|
| + }
|
| +
|
| bool is_occluded_for_tree_priority(TreePriority tree_priority) const {
|
| switch (tree_priority) {
|
| case SMOOTHNESS_TAKES_PRIORITY:
|
|
|