| Index: chrome/browser/ui/views/location_bar/star_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/star_view.cc b/chrome/browser/ui/views/location_bar/star_view.cc
|
| index aed4c9bc289a99bd654e05dcb82077e30a3ecc9a..912969be71f7e46cee15bb6c0750dd2d2dce5340 100644
|
| --- a/chrome/browser/ui/views/location_bar/star_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/star_view.cc
|
| @@ -5,7 +5,6 @@
|
| #include "chrome/browser/ui/views/location_bar/star_view.h"
|
|
|
| #include "base/metrics/histogram_macros.h"
|
| -#include "base/strings/utf_string_conversions.h"
|
| #include "chrome/app/chrome_command_ids.h"
|
| #include "chrome/browser/bookmarks/bookmark_stats.h"
|
| #include "chrome/browser/ui/browser.h"
|
| @@ -13,11 +12,8 @@
|
| #include "chrome/browser/ui/view_ids.h"
|
| #include "chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h"
|
| #include "chrome/grit/generated_resources.h"
|
| -#include "chrome/grit/theme_resources.h"
|
| #include "components/strings/grit/components_strings.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| -#include "ui/base/material_design/material_design_controller.h"
|
| -#include "ui/base/resource/resource_bundle.h"
|
| #include "ui/gfx/vector_icons_public.h"
|
|
|
| StarView::StarView(CommandUpdater* command_updater, Browser* browser)
|
| @@ -66,15 +62,6 @@ views::BubbleDialogDelegateView* StarView::GetBubble() const {
|
| return BookmarkBubbleView::bookmark_bubble();
|
| }
|
|
|
| -bool StarView::SetRasterIcon() {
|
| - if (ui::MaterialDesignController::IsModeMaterial())
|
| - return false;
|
| -
|
| - SetImage(ui::ResourceBundle::GetSharedInstance().GetImageSkiaNamed(
|
| - active() ? IDR_STAR_LIT : IDR_STAR));
|
| - return true;
|
| -}
|
| -
|
| gfx::VectorIconId StarView::GetVectorIcon() const {
|
| return active() ? gfx::VectorIconId::LOCATION_BAR_STAR_ACTIVE
|
| : gfx::VectorIconId::LOCATION_BAR_STAR;
|
|
|