Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: chrome/browser/chromeos/ui/echo_dialog_view.cc

Issue 145033006: views: Make View::set_border() take a scoped_ptr<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/ui/echo_dialog_view.cc
diff --git a/chrome/browser/chromeos/ui/echo_dialog_view.cc b/chrome/browser/chromeos/ui/echo_dialog_view.cc
index d25323a3c9dbabd728b916f453f5523d29efc3e4..bac683843bc088897962c2b038dded534c1c9ada 100644
--- a/chrome/browser/chromeos/ui/echo_dialog_view.cc
+++ b/chrome/browser/chromeos/ui/echo_dialog_view.cc
@@ -168,11 +168,10 @@ gfx::Size EchoDialogView::GetPreferredSize() {
}
void EchoDialogView::SetLabelBorderAndBounds() {
- label_->set_border(views::Border::CreateEmptyBorder(
- kDialogLabelTopInset,
- kDialogLabelLeftInset,
- kDialogLabelBottomInset,
- kDialogLabelRightInset));
+ label_->SetBorder(views::Border::CreateEmptyBorder(kDialogLabelTopInset,
+ kDialogLabelLeftInset,
+ kDialogLabelBottomInset,
+ kDialogLabelRightInset));
label_->SetBounds(label_->x(),
label_->y(),
« no previous file with comments | « chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc ('k') | chrome/browser/ui/libgtk2ui/gtk2_border.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698