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

Unified Diff: ui/native_theme/native_theme_base.cc

Issue 1863503002: test hypothesis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: zappity Created 4 years, 8 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 | « ui/native_theme/native_theme_aurawin.cc ('k') | ui/native_theme/native_theme_win.cc » ('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 017b07afe9675c99b1c2fc2e4b1362d12cd26732..d0f135ac75032e1af109f27e299b0aed2e579dc0 100644
--- a/ui/native_theme/native_theme_base.cc
+++ b/ui/native_theme/native_theme_base.cc
@@ -97,10 +97,6 @@ namespace ui {
gfx::Size NativeThemeBase::GetPartSize(Part part,
State state,
const ExtraParams& extra) const {
- gfx::Size size = CommonThemeGetPartSize(part, state, extra);
- if (!size.IsEmpty())
- return size;
-
switch (part) {
// Please keep these in the order of NativeTheme::Part.
case kCheckbox:
@@ -197,9 +193,6 @@ void NativeThemeBase::Paint(SkCanvas* canvas,
switch (part) {
// Please keep these in the order of NativeTheme::Part.
- case kComboboxArrow:
- CommonThemePaintComboboxArrow(canvas, rect);
- break;
case kCheckbox:
PaintCheckbox(canvas, state, rect, extra.button);
break;
« no previous file with comments | « ui/native_theme/native_theme_aurawin.cc ('k') | ui/native_theme/native_theme_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698