Skip to content

Commit

Permalink
ui/cc minor doc updates
Browse files Browse the repository at this point in the history
Updates ui::Layer::SetMasksToBounds() to indicate masking also applies to
this layer.

Updates how_to reference in cc/README.md to point to the updated place.

BUG=none
TEST=none

Change-Id: I0f94a91afc3d8260723afde62a51de6561c245c7
Reviewed-on: https://chromium-review.googlesource.com/c/1497634
Auto-Submit: Scott Violet <sky@chromium.org>
Commit-Queue: danakj <danakj@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#637143}
  • Loading branch information
Scott Violet authored and Commit Bot committed Mar 2, 2019
1 parent bc992bb commit 2a1b8ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Design documents for the graphics stack can be found at

## Other Docs

* [How cc Works](https://docs.google.com/document/d/1yjzOWrPfFGviEd1nru3yzqxSHETC-zsEBSt9C8SvV-Q/edit)
* [How cc Works](../docs/how_cc_works.md)

## Glossaries

Expand Down
4 changes: 2 additions & 2 deletions ui/compositor/layer.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ class COMPOSITOR_EXPORT Layer : public LayerAnimationDelegate,
// otherwise.
gfx::Rect GetTargetBounds() const;

// Sets/gets whether or not drawing of child layers should be clipped to the
// bounds of this layer.
// Sets/gets whether or not drawing of child layers, including drawing in
// this layer, should be clipped to the bounds of this layer.
void SetMasksToBounds(bool masks_to_bounds);
bool GetMasksToBounds() const;

Expand Down

0 comments on commit 2a1b8ba

Please sign in to comment.