Index: cc/blink/web_nine_patch_layer_impl.cc |
diff --git a/cc/blink/web_nine_patch_layer_impl.cc b/cc/blink/web_nine_patch_layer_impl.cc |
index 65e6fdd071e73f1ea6ed588733e037fa0cc7161b..094349182fa52c98784b34de9aba6a70a1eb9d34 100644 |
--- a/cc/blink/web_nine_patch_layer_impl.cc |
+++ b/cc/blink/web_nine_patch_layer_impl.cc |
@@ -24,16 +24,6 @@ blink::WebLayer* WebNinePatchLayerImpl::layer() { |
return layer_.get(); |
} |
-void WebNinePatchLayerImpl::setBitmap(SkBitmap bitmap, |
- const blink::WebRect& aperture) { |
- setBitmap(bitmap); |
- setAperture(aperture); |
- setBorder(blink::WebRect(aperture.x, |
- aperture.y, |
- bitmap.width() - aperture.width, |
- bitmap.height() - aperture.height)); |
-} |
- |
void WebNinePatchLayerImpl::setBitmap(const SkBitmap& bitmap) { |
cc::NinePatchLayer* nine_patch = |
static_cast<cc::NinePatchLayer*>(layer_->layer()); |