refactor: make api::View
methods const, private (#46545)
* refactor: make api::View::GetBounds() const * refactor: make api::View::OnViewBoundsChanged() private refactor: make api::View::OnViewIsDeleting() private refactor: make api::View::OnChildViewRemoved() private * refactor: make ChildPair private
This commit is contained in:
parent
e22b83abf2
commit
4bb7a4ceb0
2 changed files with 10 additions and 10 deletions
|
@ -280,7 +280,7 @@ void View::SetBounds(const gfx::Rect& bounds) {
|
|||
view_->SetBoundsRect(bounds);
|
||||
}
|
||||
|
||||
gfx::Rect View::GetBounds() {
|
||||
gfx::Rect View::GetBounds() const {
|
||||
if (!view_)
|
||||
return {};
|
||||
return view_->bounds();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue