Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / views / location_bar / search_button.cc
index da61a78..b069e8e 100644 (file)
@@ -38,7 +38,7 @@ SearchButton::SearchButton(views::ButtonListener* listener)
   border->SetPainter(true, views::Button::STATE_HOVERED, NULL);
   border->SetPainter(true, views::Button::STATE_PRESSED, NULL);
   border->SetPainter(true, views::Button::STATE_DISABLED, NULL);
-  SetBorder(border.PassAs<views::Border>());
+  SetBorder(border.Pass());
   const int kSearchButtonWidth = 56;
   SetMinSize(gfx::Size(kSearchButtonWidth, 0));
 }