summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/page_info_window_view.cc
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-01 08:55:53 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-01 08:55:53 +0000
commit6f17052f241bad735fa0ac23997951b3702d19f9 (patch)
treefbd3e47bd7e03ff069c81c45eab891059b5fd23f /chrome/browser/views/page_info_window_view.cc
parentf5046c6db90ed2384b82213c7dd1a35e35091d9b (diff)
downloadchromium_src-6f17052f241bad735fa0ac23997951b3702d19f9.zip
chromium_src-6f17052f241bad735fa0ac23997951b3702d19f9.tar.gz
chromium_src-6f17052f241bad735fa0ac23997951b3702d19f9.tar.bz2
Show Page Info InfoBubble on the right side for RTL languages and make sure Warning is treated as error in old dialog (which is how it was before).
BUG=http://crbug.com/52916 TEST=Open SSL Infobubble on RTL languages, make sure it points to the right location. Then open a gmail containing an external image (not attached, but embedded) and make sure the old SSL dialog (not the infobubble) shows an error for mixed content, not the green icon. Review URL: http://codereview.chromium.org/3245012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58150 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/page_info_window_view.cc')
-rw-r--r--chrome/browser/views/page_info_window_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/page_info_window_view.cc b/chrome/browser/views/page_info_window_view.cc
index 690fc9a..4b65c7a 100644
--- a/chrome/browser/views/page_info_window_view.cc
+++ b/chrome/browser/views/page_info_window_view.cc
@@ -218,7 +218,7 @@ void PageInfoWindowView::LayoutSections() {
PageInfoModel::SectionInfo info = model_.GetSectionInfo(i);
layout->StartRow(0, 0);
layout->AddView(new Section(
- info.title, info.state != PageInfoModel::SECTION_STATE_ERROR,
+ info.title, info.state == PageInfoModel::SECTION_STATE_OK,
info.headline, info.description));
layout->AddPaddingRow(0, kVerticalPadding);
}