Index: chrome/browser/ui/cocoa/location_bar/web_intents_button_decoration.mm |
diff --git a/chrome/browser/ui/cocoa/location_bar/web_intents_button_decoration.mm b/chrome/browser/ui/cocoa/location_bar/web_intents_button_decoration.mm |
index ee87f57428618e85a7fffd1255c4f92799312ee9..5551c6e7b29d019017202fd2ab8f114c85c18683 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/web_intents_button_decoration.mm |
+++ b/chrome/browser/ui/cocoa/location_bar/web_intents_button_decoration.mm |
@@ -140,9 +140,9 @@ WebIntentsButtonDecoration::~WebIntentsButtonDecoration() {} |
void WebIntentsButtonDecoration::SetButtonImages(NSImage* left, |
NSImage* center, |
NSImage* right) { |
- left_image_.reset(left, base::scoped_policy::RETAIN); |
- center_image_.reset(center, base::scoped_policy::RETAIN); |
- right_image_.reset(right, base::scoped_policy::RETAIN); |
+ left_image_.reset([left retain]); |
+ center_image_.reset([center retain]); |
+ right_image_.reset([right retain]); |
} |
bool WebIntentsButtonDecoration::AcceptsMousePress() { |