diff options
Diffstat (limited to 'cc/layers/nine_patch_layer.cc')
-rw-r--r-- | cc/layers/nine_patch_layer.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cc/layers/nine_patch_layer.cc b/cc/layers/nine_patch_layer.cc index a4b4f70..4301a85 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; |