| Index: chrome/browser/android/vr_shell/textures/url_bar_texture.cc
|
| diff --git a/chrome/browser/android/vr_shell/textures/url_bar_texture.cc b/chrome/browser/android/vr_shell/textures/url_bar_texture.cc
|
| index 18269127ed6935878534aec010af51729de62618..57ca3d2f6b89ef975e5d51d8dbf2b2e039e9f98f 100644
|
| --- a/chrome/browser/android/vr_shell/textures/url_bar_texture.cc
|
| +++ b/chrome/browser/android/vr_shell/textures/url_bar_texture.cc
|
| @@ -63,13 +63,13 @@ UrlBarTexture::~UrlBarTexture() = default;
|
|
|
| void UrlBarTexture::SetURL(const GURL& gurl) {
|
| if (gurl_ != gurl)
|
| - dirty_ = true;
|
| + set_dirty();
|
| gurl_ = gurl;
|
| }
|
|
|
| void UrlBarTexture::SetSecurityLevel(int level) {
|
| if (&getSecurityIcon(security_level_) != &getSecurityIcon(level))
|
| - dirty_ = true;
|
| + set_dirty();
|
| security_level_ = level;
|
| }
|
|
|
| @@ -166,7 +166,7 @@ gfx::SizeF UrlBarTexture::GetDrawnSize() const {
|
|
|
| bool UrlBarTexture::SetDrawFlags(int draw_flags) {
|
| if (draw_flags != GetDrawFlags())
|
| - dirty_ = true;
|
| + set_dirty();
|
| return UiTexture::SetDrawFlags(draw_flags);
|
| }
|
|
|
|
|