Chromium Code Reviews| Index: cc/nine_patch_layer_impl.cc |
| diff --git a/cc/nine_patch_layer_impl.cc b/cc/nine_patch_layer_impl.cc |
| index d271eb0c1066ae7f42b42aad57e0099cbff3f32c..477ca1e577cc4aa03cb2b3e2ee3cfd3a18af16d7 100644 |
| --- a/cc/nine_patch_layer_impl.cc |
| +++ b/cc/nine_patch_layer_impl.cc |
| @@ -6,6 +6,7 @@ |
| #include "nine_patch_layer_impl.h" |
| +#include "base/stringprintf.h" |
| #include "cc/quad_sink.h" |
| #include "cc/texture_draw_quad.h" |
| #include "ui/gfx/rect_f.h" |
| @@ -27,12 +28,6 @@ ResourceProvider::ResourceId NinePatchLayerImpl::contentsResourceId() const |
| return 0; |
| } |
| -void NinePatchLayerImpl::dumpLayerProperties(std::string* str, int indent) const |
| -{ |
| - LayerImpl::dumpLayerProperties(str, indent); |
| -} |
| - |
| - |
| void NinePatchLayerImpl::willDraw(ResourceProvider* resourceProvider) |
| { |
| } |
| @@ -114,4 +109,11 @@ const char* NinePatchLayerImpl::layerTypeAsString() const |
| return "NinePatchLayer"; |
| } |
| +void NinePatchLayerImpl::dumpLayerProperties(std::string* str, int indent) const |
| +{ |
| + str->append(indentString(indent)); |
| + base::StringAppendF(str, "m_imageAperture: %s\n", m_imageAperture.ToString().c_str()); |
|
danakj
2012/11/07 21:31:35
nit: drop the m_ it's cleaner.
maybe consider put
|
| + LayerImpl::dumpLayerProperties(str, indent); |
| +} |
| + |
| } |
|
danakj
2012/11/07 19:00:01
} // namespace cc
|