| Index: cc/layers/nine_patch_layer.cc
|
| diff --git a/cc/layers/nine_patch_layer.cc b/cc/layers/nine_patch_layer.cc
|
| index a4b4f70f33bc6fa46f51faf07b445a078e2b7b5c..4301a85c7b8bb078362e72494d4670ed19fe085a 100644
|
| --- a/cc/layers/nine_patch_layer.cc
|
| +++ b/cc/layers/nine_patch_layer.cc
|
| @@ -63,12 +63,12 @@ void NinePatchLayer::Update(ResourceUpdateQueue* queue,
|
|
|
| if (resource_ &&
|
| (bitmap_dirty_ || resource_->texture()->resource_id() == 0)) {
|
| - gfx::Rect contentRect(gfx::Point(),
|
| - gfx::Size(bitmap_.width(), bitmap_.height()));
|
| + gfx::Rect content_rect(gfx::Point(),
|
| + gfx::Size(bitmap_.width(), bitmap_.height()));
|
| ResourceUpdate upload = ResourceUpdate::Create(resource_->texture(),
|
| &bitmap_,
|
| - contentRect,
|
| - contentRect,
|
| + content_rect,
|
| + content_rect,
|
| gfx::Vector2d());
|
| queue->AppendFullUpload(upload);
|
| bitmap_dirty_ = false;
|
|
|