summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa
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/cocoa
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/cocoa')
-rw-r--r--chrome/browser/cocoa/page_info_window_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/page_info_window_mac.mm b/chrome/browser/cocoa/page_info_window_mac.mm
index 306d1ed..c98e357 100644
--- a/chrome/browser/cocoa/page_info_window_mac.mm
+++ b/chrome/browser/cocoa/page_info_window_mac.mm
@@ -221,7 +221,7 @@ void PageInfoWindowMac::LayoutSections() {
scoped_nsobject<NSImageView> image_view(
[[NSImageView alloc] initWithFrame:image_view_rect]);
[image_view setImageFrameStyle:NSImageFrameNone];
- [image_view setImage:(info.state != PageInfoModel::SECTION_STATE_ERROR) ?
+ [image_view setImage:(info.state == PageInfoModel::SECTION_STATE_OK) ?
good_image_.get() : bad_image_.get()];
// Add the box to the list of new subviews.