Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1757)

Unified Diff: chrome/browser/android/vr_shell/textures/url_bar_texture.cc

Issue 1302223010: Make https omnibox strikethrough horizontal on all platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include WebVR. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/textures/url_bar_texture_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 561063e5d1e9f91da6a7d8949b3607e73357053e..a65858b4f64bdd15ba928860bf263cd93a51def8 100644
--- a/chrome/browser/android/vr_shell/textures/url_bar_texture.cc
+++ b/chrome/browser/android/vr_shell/textures/url_bar_texture.cc
@@ -384,8 +384,7 @@ void UrlBarTexture::ApplyUrlStyling(
render_text->ApplyColor(getSchemeColor(security_level, color_scheme),
scheme_range);
if (security_level == SecurityLevel::DANGEROUS) {
- render_text->ApplyStyle(gfx::TextStyle::DIAGONAL_STRIKE, true,
- scheme_range);
+ render_text->ApplyStyle(gfx::TextStyle::STRIKE, true, scheme_range);
}
}
}
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/textures/url_bar_texture_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698