Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3653)

Unified Diff: cc/layers/nine_patch_layer.cc

Issue 12676029: cc: Fix capitalization style in chromified files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/layers/nine_patch_layer.cc
diff --git a/cc/layers/nine_patch_layer.cc b/cc/layers/nine_patch_layer.cc
index f22fcba1635fdf66073d1558a51e4b0950ac2447..5ee15a29cf010bd9e315cb144231f89c6774d8ca 100644
--- a/cc/layers/nine_patch_layer.cc
+++ b/cc/layers/nine_patch_layer.cc
@@ -62,12 +62,11 @@ void NinePatchLayer::Update(ResourceUpdateQueue* queue,
CreateUpdaterIfNeeded();
if (resource_ && (bitmap_dirty_ || resource_->texture()->ResourceId() == 0)) {
- gfx::Rect contentRect(gfx::Point(),
- gfx::Size(bitmap_.width(), bitmap_.height()));
+ gfx::Rect content_rect(0, 0, 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;

Powered by Google App Engine
This is Rietveld 408576698