| Index: cc/layers/nine_patch_layer_impl.cc
|
| diff --git a/cc/layers/nine_patch_layer_impl.cc b/cc/layers/nine_patch_layer_impl.cc
|
| index 779973575308c28f8cf224eefb16a5ea93818ecb..6894ab1b0d5ee5331da7c0f2db1d21224a05aedb 100644
|
| --- a/cc/layers/nine_patch_layer_impl.cc
|
| +++ b/cc/layers/nine_patch_layer_impl.cc
|
| @@ -55,6 +55,13 @@ void NinePatchLayerImpl::SetLayout(gfx::Size image_bounds, gfx::Rect aperture) {
|
| image_aperture_ = aperture;
|
| }
|
|
|
| +bool NinePatchLayerImpl::WillDraw(DrawMode draw_mode,
|
| + ResourceProvider* resource_provider) {
|
| + if (draw_mode == DRAW_MODE_RESOURCELESS_SOFTWARE)
|
| + return false;
|
| + return LayerImpl::WillDraw(draw_mode, resource_provider);
|
| +}
|
| +
|
| void NinePatchLayerImpl::AppendQuads(QuadSink* quad_sink,
|
| AppendQuadsData* append_quads_data) {
|
| if (!resource_id_)
|
|
|