| Index: chrome/browser/android/vr_shell/ui_elements/url_bar.cc
|
| diff --git a/chrome/browser/android/vr_shell/ui_elements/url_bar.cc b/chrome/browser/android/vr_shell/ui_elements/url_bar.cc
|
| index 87deb9213c874d4610fbbf9601d7c5540650af16..d26a1f10dd09cf25d6131f52098d4c479feed24e 100644
|
| --- a/chrome/browser/android/vr_shell/ui_elements/url_bar.cc
|
| +++ b/chrome/browser/android/vr_shell/ui_elements/url_bar.cc
|
| @@ -19,17 +19,19 @@ UiTexture* UrlBar::GetTexture() const {
|
| return texture_.get();
|
| }
|
|
|
| -void UrlBar::OnHoverEnter() {
|
| - texture_->SetHover(true);
|
| +void UrlBar::OnHoverEnter(gfx::PointF position) {
|
| + if (!texture_->Update(UrlBarTexture::FLAG_HOVER))
|
| + return;
|
| Update();
|
| }
|
|
|
| void UrlBar::OnHoverLeave() {
|
| - texture_->SetHover(false);
|
| + if (!texture_->Update(0))
|
| + return;
|
| Update();
|
| }
|
|
|
| -void UrlBar::OnButtonUp() {
|
| +void UrlBar::OnButtonUp(gfx::PointF position) {
|
| back_button_callback_.Run();
|
| }
|
|
|
|
|