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

Unified Diff: chrome/browser/ui/cocoa/passwords/credential_item_button.mm

Issue 2733823003: Move final vector icons out of ui/gfx/vector_icons/ and remove the (Closed)
Patch Set: fix deps Created 3 years, 9 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/cocoa/passwords/credential_item_button.mm
diff --git a/chrome/browser/ui/cocoa/passwords/credential_item_button.mm b/chrome/browser/ui/cocoa/passwords/credential_item_button.mm
index e1bbaf8bc52637b7db6a7da21f72985c5b02805c..c859e506bf0a0df5f5198ed9cfeb71bfdcda08e8 100644
--- a/chrome/browser/ui/cocoa/passwords/credential_item_button.mm
+++ b/chrome/browser/ui/cocoa/passwords/credential_item_button.mm
@@ -17,7 +17,7 @@
#include "ui/gfx/image/image_skia_util_mac.h"
#include "ui/gfx/paint_vector_icon.h"
#include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h"
-#include "ui/gfx/vector_icons_public.h"
+#include "ui/vector_icons/vector_icons.h"
namespace {
constexpr CGFloat kFocusRingInset = 3;
@@ -136,8 +136,8 @@ constexpr CGFloat kHorizontalPaddingBetweenAvatarAndLabel = 10;
DCHECK(!iconController_);
iconController_.reset([[AutofillTooltipController alloc]
initWithArrowLocation:info_bubble::kTopTrailing]);
- NSImage* image = gfx::NSImageFromImageSkia(gfx::CreateVectorIcon(
- gfx::VectorIconId::INFO_OUTLINE, gfx::kChromeIconGrey));
+ NSImage* image = gfx::NSImageFromImageSkia(
+ gfx::CreateVectorIcon(ui::kInfoOutlineIcon, gfx::kChromeIconGrey));
[iconController_ setImage:image];
[iconController_ setMessage:tooltip];
[self addSubview:[iconController_ view]];

Powered by Google App Engine
This is Rietveld 408576698