| Index: chrome/browser/views/page_info_window_view.cc
|
| ===================================================================
|
| --- chrome/browser/views/page_info_window_view.cc (revision 57510)
|
| +++ chrome/browser/views/page_info_window_view.cc (working copy)
|
| @@ -82,7 +82,7 @@
|
| virtual void ModelChanged();
|
|
|
| private:
|
| - // This retreives the sections from the model and lay them out.
|
| + // This retrieves the sections from the model and lays them out.
|
| void LayoutSections();
|
|
|
| // Offsets the specified rectangle so it is showing on the screen and shifted
|
| @@ -217,8 +217,9 @@
|
| for (int i = 0; i < model_.GetSectionCount(); ++i) {
|
| PageInfoModel::SectionInfo info = model_.GetSectionInfo(i);
|
| layout->StartRow(0, 0);
|
| - layout->AddView(new Section(info.title, info.state, info.headline,
|
| - info.description));
|
| + layout->AddView(new Section(
|
| + info.title, info.state != PageInfoModel::SECTION_STATE_ERROR,
|
| + info.headline, info.description));
|
| layout->AddPaddingRow(0, kVerticalPadding);
|
| }
|
| layout->AddPaddingRow(1, kVerticalPadding);
|
|
|