diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-19 19:51:15 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-19 19:51:15 +0000 |
commit | f12c2f9daa912122ae0b47fa3d82ec853ea49d38 (patch) | |
tree | 41c8fcafe99b199cd9dde90c55c6bf2c42cdc668 | |
parent | b690c1e44bfaf5a39d84ff672c64fa3be8991109 (diff) | |
download | chromium_src-f12c2f9daa912122ae0b47fa3d82ec853ea49d38.zip chromium_src-f12c2f9daa912122ae0b47fa3d82ec853ea49d38.tar.gz chromium_src-f12c2f9daa912122ae0b47fa3d82ec853ea49d38.tar.bz2 |
gtk: Do not return SkColor by const-reference as it's defined as POD(integer).
This is a follow up to r128782.
R=erg@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10132002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133042 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/ui/gtk/theme_service_gtk.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/chrome/browser/ui/gtk/theme_service_gtk.h b/chrome/browser/ui/gtk/theme_service_gtk.h index 47f0818..c00c62a 100644 --- a/chrome/browser/ui/gtk/theme_service_gtk.h +++ b/chrome/browser/ui/gtk/theme_service_gtk.h @@ -118,22 +118,20 @@ class ThemeServiceGtk : public ThemeService { GtkWidget* fake_label() { return fake_label_.get(); } // Returns colors that we pass to webkit to match the system theme. - const SkColor& get_focus_ring_color() const { return focus_ring_color_; } - const SkColor& get_thumb_active_color() const { return thumb_active_color_; } - const SkColor& get_thumb_inactive_color() const { - return thumb_inactive_color_; - } - const SkColor& get_track_color() const { return track_color_; } - const SkColor& get_active_selection_bg_color() const { + SkColor get_focus_ring_color() const { return focus_ring_color_; } + SkColor get_thumb_active_color() const { return thumb_active_color_; } + SkColor get_thumb_inactive_color() const { return thumb_inactive_color_; } + SkColor get_track_color() const { return track_color_; } + SkColor get_active_selection_bg_color() const { return active_selection_bg_color_; } - const SkColor& get_active_selection_fg_color() const { + SkColor get_active_selection_fg_color() const { return active_selection_fg_color_; } - const SkColor& get_inactive_selection_bg_color() const { + SkColor get_inactive_selection_bg_color() const { return inactive_selection_bg_color_; } - const SkColor& get_inactive_selection_fg_color() const { + SkColor get_inactive_selection_fg_color() const { return inactive_selection_fg_color_; } |