diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-21 12:52:29 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-21 12:52:29 +0000 |
commit | 8d0f80014579e4763286b9d4779a9c79d16cd132 (patch) | |
tree | 9960516820b0c0c6da24644f0c68245d4ee8a2cb /views/controls | |
parent | 3846fb2460ddb4914193428e5f8f5c6c9826740c (diff) | |
download | chromium_src-8d0f80014579e4763286b9d4779a9c79d16cd132.zip chromium_src-8d0f80014579e4763286b9d4779a9c79d16cd132.tar.gz chromium_src-8d0f80014579e4763286b9d4779a9c79d16cd132.tar.bz2 |
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
Diffstat (limited to 'views/controls')
-rw-r--r-- | views/controls/message_box_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; |