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

Unified Diff: chrome/common/gfx/color_utils.cc

Issue 12842: Move convolver, image_operations, and skia_utils from base/gfx to skia/ext.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 | « chrome/browser/views/tabs/tab_renderer.cc ('k') | chrome/common/gfx/icon_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/gfx/color_utils.cc
===================================================================
--- chrome/common/gfx/color_utils.cc (revision 6142)
+++ chrome/common/gfx/color_utils.cc (working copy)
@@ -12,10 +12,13 @@
#include "chrome/common/gfx/color_utils.h"
#include "base/basictypes.h"
-#include "base/gfx/skia_utils.h"
#include "base/logging.h"
#include "skia/include/SkBitmap.h"
+#if defined(OS_WIN)
+#include "skia/ext/skia_utils_win.h"
+#endif
+
namespace color_utils {
// These transformations are based on the equations in:
@@ -252,7 +255,7 @@
SkColor GetSysSkColor(int which) {
#if defined(OS_WIN)
- return gfx::COLORREFToSkColor(::GetSysColor(which));
+ return skia::COLORREFToSkColor(::GetSysColor(which));
#else
NOTIMPLEMENTED();
return SK_ColorLTGRAY;
« no previous file with comments | « chrome/browser/views/tabs/tab_renderer.cc ('k') | chrome/common/gfx/icon_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698