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 b9d2827db8961cd0c240bcf7c01f23fde6359027..cd8d01068521832a2ce49bdaba34ace8668d1349 100644 |
--- a/ui/native_theme/native_theme_base.cc |
+++ b/ui/native_theme/native_theme_base.cc |
@@ -242,6 +242,20 @@ void NativeThemeBase::Paint(SkCanvas* 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) { |