Index: chrome/browser/ui/cocoa/infobars/infobar_controller.mm |
=================================================================== |
--- chrome/browser/ui/cocoa/infobars/infobar_controller.mm (revision 88097) |
+++ chrome/browser/ui/cocoa/infobars/infobar_controller.mm (working copy) |
@@ -14,6 +14,7 @@ |
#include "chrome/browser/ui/cocoa/infobars/infobar.h" |
#import "chrome/browser/ui/cocoa/infobars/infobar_container_controller.h" |
#import "chrome/browser/ui/cocoa/infobars/infobar_controller.h" |
+#import "chrome/browser/ui/cocoa/infobars/infobar_gradient_view.h" |
#include "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" |
#include "ui/gfx/image.h" |
#include "webkit/glue/window_open_disposition.h" |
@@ -127,6 +128,8 @@ |
[self initializeLabel]; |
[self addAdditionalControls]; |
+ |
+ [infoBarView_ setInfobarType:delegate_->GetInfoBarType()]; |
} |
// Called when someone clicks on the embedded link. |