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

Unified Diff: chrome/browser/search/instant_service.cc

Issue 1219533009: Make SysColorChangeListener Windows-only instead of having an empty shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@net_private_fields
Patch Set: rebase Created 5 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/accessibility/invert_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/instant_service.cc
diff --git a/chrome/browser/search/instant_service.cc b/chrome/browser/search/instant_service.cc
index 7b1fb8523d3f39bdfb945003f3ba48cfa5752ad4..5f668effb17431b5f644491abaeffea26079ed2a 100644
--- a/chrome/browser/search/instant_service.cc
+++ b/chrome/browser/search/instant_service.cc
@@ -38,7 +38,6 @@
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/color_utils.h"
#include "ui/gfx/image/image_skia.h"
-#include "ui/gfx/sys_color_change_listener.h"
#if !defined(OS_ANDROID)
#include "chrome/browser/search/local_ntp_source.h"
@@ -338,7 +337,7 @@ void InstantService::OnThemeChanged(ThemeService* theme_service) {
SkColorGetB(header_color));
// Invert colors if needed.
- if (gfx::IsInvertedColorScheme()) {
+ if (color_utils::IsInvertedColorScheme()) {
background_color = color_utils::InvertColor(background_color);
text_color = color_utils::InvertColor(text_color);
link_color = color_utils::InvertColor(link_color);
« no previous file with comments | « no previous file | chrome/browser/ui/views/accessibility/invert_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698