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

Unified Diff: chrome/browser/ssl/ssl_blocking_page.cc

Issue 319303003: Polish the new SSL interstitial (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No png Created 6 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 | « chrome/browser/resources/ssl/interstitial_v2.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/ssl_blocking_page.cc
diff --git a/chrome/browser/ssl/ssl_blocking_page.cc b/chrome/browser/ssl/ssl_blocking_page.cc
index 3133c6519609c8a9fd018a7932ad88e10ab1bcd1..4b79463c41929a0b1fe58f97ae55d8e99b9b7727 100644
--- a/chrome/browser/ssl/ssl_blocking_page.cc
+++ b/chrome/browser/ssl/ssl_blocking_page.cc
@@ -420,9 +420,7 @@ std::string SSLBlockingPage::GetHTMLContentsV1() {
std::string SSLBlockingPage::GetHTMLContentsV2() {
base::DictionaryValue loadTimeData;
base::string16 url(ASCIIToUTF16(request_url_.host()));
- bool rtl = base::i18n::IsRTL();
- loadTimeData.SetString("textDirection", rtl ? "rtl" : "ltr");
- if (rtl)
+ if (base::i18n::IsRTL())
base::i18n::WrapStringWithLTRFormatting(&url);
webui::SetFontAndTextDirection(&loadTimeData);
« no previous file with comments | « chrome/browser/resources/ssl/interstitial_v2.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698