Index: content/child/webthemeengine_impl_default.cc |
diff --git a/content/child/webthemeengine_impl_default.cc b/content/child/webthemeengine_impl_default.cc |
index 169f96952c08e75c5c6b97b7771f2c7b9ca62cdb..6014d2b3072dc1736959040af04788d9c6140649 100644 |
--- a/content/child/webthemeengine_impl_default.cc |
+++ b/content/child/webthemeengine_impl_default.cc |
@@ -253,6 +253,21 @@ void WebThemeEngineImpl::getOverlayScrollbarStyle(ScrollbarStyle* style) { |
// NativeTheme so these fields are unused. |
} |
+bool WebThemeEngineImpl::supportsNinePatch(Part part) const { |
+ return ui::NativeTheme::GetInstanceForWeb()->SupportsNinePatch( |
+ NativeThemePart(part)); |
+} |
+ |
+blink::WebSize WebThemeEngineImpl::ninePatchCanvasSize(Part part) const { |
+ return ui::NativeTheme::GetInstanceForWeb()->GetNinePatchCanvasSize( |
+ NativeThemePart(part)); |
+} |
+ |
+blink::WebRect WebThemeEngineImpl::ninePatchAperture(Part part) const { |
+ return ui::NativeTheme::GetInstanceForWeb()->GetNinePatchAperture( |
+ NativeThemePart(part)); |
+} |
+ |
#if defined(OS_WIN) |
// static |
void WebThemeEngineImpl::cacheScrollBarMetrics( |