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

Unified Diff: ui/native_theme/native_theme_base.cc

Issue 462373002: Allow the native theme to paint the corner between scrollbars (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make the test a friend Created 6 years, 4 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 | ui/views/controls/scroll_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_base.cc
diff --git a/ui/native_theme/native_theme_base.cc b/ui/native_theme/native_theme_base.cc
index 1272af7ecd19040b1f91e1c0cd15d4a94b168b7e..b839621b202ebc4448d42e645403eaaf4e1d6b19 100644
--- a/ui/native_theme/native_theme_base.cc
+++ b/ui/native_theme/native_theme_base.cc
@@ -519,11 +519,6 @@ void NativeThemeBase::PaintScrollbarThumb(SkCanvas* canvas,
void NativeThemeBase::PaintScrollbarCorner(SkCanvas* canvas,
State state,
const gfx::Rect& rect) const {
- SkPaint paint;
- paint.setColor(SK_ColorWHITE);
- paint.setStyle(SkPaint::kFill_Style);
- paint.setXfermodeMode(SkXfermode::kSrc_Mode);
- canvas->drawIRect(RectToSkIRect(rect), paint);
}
void NativeThemeBase::PaintCheckbox(SkCanvas* canvas,
« no previous file with comments | « no previous file | ui/views/controls/scroll_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698