Index: components/translate/core/browser/translate_ui_delegate.cc |
diff --git a/components/translate/core/browser/translate_ui_delegate.cc b/components/translate/core/browser/translate_ui_delegate.cc |
index 3896565fa25b8f52225b96a3703dfe6ffd0c4594..39af5b816feccdfef2d4f54f1c8272290572e662 100644 |
--- a/components/translate/core/browser/translate_ui_delegate.cc |
+++ b/components/translate/core/browser/translate_ui_delegate.cc |
@@ -40,7 +40,7 @@ scoped_ptr<icu::Collator> CreateCollator(const std::string& locale) { |
if (!collator || !U_SUCCESS(error)) |
return nullptr; |
collator->setStrength(icu::Collator::PRIMARY); |
- return collator.Pass(); |
+ return collator; |
} |
} // namespace |