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 69dfde72c3efd399cce554a03fbd3fd91d4cb932..ffb789bcab6548af6904f1ca08f58fa918a3d821 100644 |
--- a/chrome/browser/android/vr_shell/textures/url_bar_texture.cc |
+++ b/chrome/browser/android/vr_shell/textures/url_bar_texture.cc |
@@ -9,8 +9,10 @@ |
#include "cc/paint/skia_paint_canvas.h" |
#include "chrome/browser/android/vr_shell/color_scheme.h" |
#include "chrome/browser/android/vr_shell/textures/render_text_wrapper.h" |
+#include "components/strings/grit/components_strings.h" |
#include "components/toolbar/vector_icons.h" |
#include "components/url_formatter/url_formatter.h" |
+#include "ui/base/l10n/l10n_util.h" |
#include "ui/gfx/canvas.h" |
#include "ui/gfx/font.h" |
#include "ui/gfx/font_list.h" |
@@ -249,6 +251,9 @@ void UrlBarTexture::Draw(SkCanvas* canvas, const gfx::Size& texture_size) { |
canvas->restore(); |
+ auto chip_text = l10n_util::GetStringUTF16(IDS_DANGEROUS_VERBOSE_STATE); |
cjgrant
2017/06/15 19:03:55
Folks, this is is temporary test code to exercise
|
+ CHECK(!chip_text.empty()); |
+ |
if (!gurl_.is_empty()) { |
if (last_drawn_gurl_ != gurl_ || |
last_drawn_security_level_ != security_level_) { |