Index: ash/common/shelf/shelf_layout_manager.cc |
diff --git a/ash/common/shelf/shelf_layout_manager.cc b/ash/common/shelf/shelf_layout_manager.cc |
index bae2ba701bcc230099dcfb0efdc4f6c34dc540a3..033ce8b83d3f993ab4af8b71099c024d76c117ac 100644 |
--- a/ash/common/shelf/shelf_layout_manager.cc |
+++ b/ash/common/shelf/shelf_layout_manager.cc |
@@ -596,7 +596,7 @@ void ShelfLayoutManager::UpdateBoundsAndOpacity( |
// Set an empty border to avoid the shelf view and status area overlapping. |
// TODO(msw): Avoid setting bounds of views within the shelf widget here. |
gfx::Rect shelf_bounds = gfx::Rect(target_bounds.shelf_bounds_in_root.size()); |
- shelf_widget_->GetContentsView()->SetBorder(views::Border::CreateEmptyBorder( |
+ shelf_widget_->GetContentsView()->SetBorder(views::CreateEmptyBorder( |
shelf_bounds.InsetsFrom(target_bounds.shelf_bounds_in_shelf))); |
shelf_widget_->GetContentsView()->Layout(); |