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

Unified Diff: webkit/port/rendering/RenderThemeWin.cpp

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
Index: webkit/port/rendering/RenderThemeWin.cpp
===================================================================
--- webkit/port/rendering/RenderThemeWin.cpp (revision 6142)
+++ webkit/port/rendering/RenderThemeWin.cpp (working copy)
@@ -37,9 +37,8 @@
#include "SkiaUtils.h"
#include "ThemeHelperWin.h"
-#include "base/gfx/native_theme.h"
-#include "base/gfx/skia_utils.h"
-#include "base/win_util.h"
+#include "base/gfx/native_theme.h" // TODO(brettw) fix this dependency.
+#include "base/win_util.h" // TODO(brettw) fix this dependency.
namespace {
@@ -572,7 +571,7 @@
gfx::PlatformCanvas* canvas = helper.context()->platformContext()->canvas();
HDC hdc = canvas->beginPlatformPaint();
- COLORREF clr = gfx::SkColorToCOLORREF(o->style()->backgroundColor().rgb());
+ COLORREF clr = o->style()->backgroundColor().rgb();
RECT renderRect = helper.rect();
gfx::NativeTheme::instance()->PaintTextField(hdc,
« no previous file with comments | « webkit/port/platform/graphics/PlatformContextSkia.cpp ('k') | webkit/tools/test_shell/test_shell_tests.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698