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

Unified Diff: chrome/browser/ui/views/sad_tab_view.cc

Issue 2644903004: Move around more vector icons. (Closed)
Patch Set: fix comment Created 3 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/ui/views/sad_tab_view.cc
diff --git a/chrome/browser/ui/views/sad_tab_view.cc b/chrome/browser/ui/views/sad_tab_view.cc
index 7da282d934478bc89a7a40ebea7d8eb273de7074..3082cb97126a4d4c643ab7681b751588468cf737 100644
--- a/chrome/browser/ui/views/sad_tab_view.cc
+++ b/chrome/browser/ui/views/sad_tab_view.cc
@@ -8,12 +8,12 @@
#include "base/metrics/histogram_macros.h"
#include "build/build_config.h"
+#include "chrome/app/vector_icons/vector_icons.h"
#include "content/public/browser/web_contents.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/paint_vector_icon.h"
-#include "ui/gfx/vector_icons_public.h"
#include "ui/native_theme/common_theme.h"
#include "ui/native_theme/native_theme.h"
#include "ui/views/background.h"
@@ -54,8 +54,8 @@ SadTabView::SadTabView(content::WebContents* web_contents,
views::ImageView* image = new views::ImageView();
- image->SetImage(gfx::CreateVectorIcon(gfx::VectorIconId::CRASHED_TAB, 48,
- gfx::kChromeIconGrey));
+ image->SetImage(
+ gfx::CreateVectorIcon(kCrashedTabIcon, 48, gfx::kChromeIconGrey));
layout->AddPaddingRow(1, views::kPanelVerticalSpacing);
layout->StartRow(0, column_set_id);
layout->AddView(image, 2, 1);

Powered by Google App Engine
This is Rietveld 408576698