Index: ui/compositor/layer.h |
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h |
index 83855bf7610c3a68ab3f6b89d9279798100d339d..d009af467b355ad32c2ef195f74732081cf857c4 100644 |
--- a/ui/compositor/layer.h |
+++ b/ui/compositor/layer.h |
@@ -287,13 +287,10 @@ class COMPOSITOR_EXPORT Layer |
// Sets the layer's fill color. May only be called for LAYER_SOLID_COLOR. |
void SetColor(SkColor color); |
- // Updates the nine patch layer's bitmap and aperture. May only be called for |
- // LAYER_NINE_PATCH. |
- void UpdateNinePatchLayerBitmap(const SkBitmap& bitmap, |
- const gfx::Rect& aperture); |
- |
- // Updates the nine patch layer's border. May only be called for |
- // LAYER_NINE_PATCH. |
+ // Updates the nine patch layer's bitmap, aperture and border. May only be |
+ // called for LAYER_NINE_PATCH. |
+ void UpdateNinePatchLayerBitmap(const SkBitmap& bitmap); |
+ void UpdateNinePatchLayerAperture(const gfx::Rect& aperture); |
void UpdateNinePatchLayerBorder(const gfx::Rect& border); |
// Adds |invalid_rect| to the Layer's pending invalid rect and calls |