From 8d0f80014579e4763286b9d4779a9c79d16cd132 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Fri, 21 Jan 2011 12:52:29 +0000 Subject: views: Make CreatePanelGridLayout a static method of GridLayout class. Move it from standard_layout.h and rename to just CreatePanel. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6384002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72128 0039d316-1c4b-4281-b951-d872f2087c98 --- views/controls/message_box_view.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/controls') diff --git a/views/controls/message_box_view.cc b/views/controls/message_box_view.cc index a239a16..2023ca4 100644 --- a/views/controls/message_box_view.cc +++ b/views/controls/message_box_view.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -150,7 +150,7 @@ void MessageBoxView::ResetLayoutManager() { using views::ColumnSet; // Initialize the Grid Layout Manager used for this dialog box. - GridLayout* layout = CreatePanelGridLayout(this); + GridLayout* layout = GridLayout::CreatePanel(this); SetLayoutManager(layout); gfx::Size icon_size; -- cgit v1.1