| Index: chrome/browser/ui/views/omnibox/omnibox_result_view.cc
|
| diff --git a/chrome/browser/ui/views/omnibox/omnibox_result_view.cc b/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
|
| index b74b097cd37f16163c648574c3ac99cda1aee6e9..61ff4539aaf8d8653b36ca1ced5067fb07752793 100644
|
| --- a/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
|
| +++ b/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
|
| @@ -472,7 +472,7 @@ scoped_ptr<gfx::RenderText> OmniboxResultView::CreateRenderText(
|
| render_text->SetElideBehavior(gfx::ELIDE_TAIL);
|
| render_text->SetFontList(font_list_);
|
| render_text->SetText(text);
|
| - return render_text.Pass();
|
| + return render_text;
|
| }
|
|
|
| scoped_ptr<gfx::RenderText> OmniboxResultView::CreateClassifiedRenderText(
|
| @@ -516,7 +516,7 @@ scoped_ptr<gfx::RenderText> OmniboxResultView::CreateClassifiedRenderText(
|
| }
|
| render_text->ApplyColor(GetColor(GetState(), color_kind), current_range);
|
| }
|
| - return render_text.Pass();
|
| + return render_text;
|
| }
|
|
|
| int OmniboxResultView::GetMatchContentsWidth() const {
|
| @@ -768,7 +768,7 @@ scoped_ptr<gfx::RenderText> OmniboxResultView::CreateAnswerLine(
|
| AppendAnswerText(destination.get(), space + text_field->text(),
|
| text_field->type());
|
| }
|
| - return destination.Pass();
|
| + return destination;
|
| }
|
|
|
| void OmniboxResultView::AppendAnswerText(gfx::RenderText* destination,
|
|
|