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 e6a27a14bc27df9b703d23e472228709ae58abfe..4a2fb957ed0f5ebfbc1249410ed20b8e6ee846ab 100644 |
--- a/ui/native_theme/native_theme_base.cc |
+++ b/ui/native_theme/native_theme_base.cc |
@@ -251,6 +251,20 @@ void NativeThemeBase::Paint(cc::PaintCanvas* canvas, |
canvas->restore(); |
} |
+bool NativeThemeBase::SupportsNinePatch(Part part) const { |
+ return false; |
+} |
+ |
+gfx::Size NativeThemeBase::GetNinePatchCanvasSize(Part part) const { |
+ NOTREACHED() << "NativeThemeBase doesn't support nine-patch resources."; |
+ return gfx::Size(); |
+} |
+ |
+gfx::Rect NativeThemeBase::GetNinePatchAperture(Part part) const { |
+ NOTREACHED() << "NativeThemeBase doesn't support nine-patch resources."; |
+ return gfx::Rect(); |
+} |
+ |
NativeThemeBase::NativeThemeBase() |
: scrollbar_width_(kDefaultScrollbarWidth), |
scrollbar_button_length_(kDefaultScrollbarButtonLength) { |