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..c68a9076b6e4401f03b33727c5053833770b247d 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, "imageAperture: %s\n", m_imageAperture.ToString().c_str()); |
+ LayerImpl::dumpLayerProperties(str, indent); |
+} |
+ |
} |
danakj
2012/11/08 01:22:01
nit: } // namespace cc
while you're here
|