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

Unified Diff: chrome/browser/resources/file_manager/js/image_editor/image_util.js

Issue 12560002: Change var blah_blah -> blahBlah. (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: chrome/browser/resources/file_manager/js/image_editor/image_util.js
diff --git a/chrome/browser/resources/file_manager/js/image_editor/image_util.js b/chrome/browser/resources/file_manager/js/image_editor/image_util.js
index 9a706068c9a1e0d2f08f0092be8e54de3dedc8f8..a89a2adc19075fab54fe4afb456bff1bcee2e7c6 100644
--- a/chrome/browser/resources/file_manager/js/image_editor/image_util.js
+++ b/chrome/browser/resources/file_manager/js/image_editor/image_util.js
@@ -302,10 +302,10 @@ Rect.fill = function(context, rect) {
* @param {Rect} outer Outer rectangle.
*/
Rect.fillBetween = function(context, inner, outer) {
- var inner_right = inner.left + inner.width;
- var inner_bottom = inner.top + inner.height;
- var outer_right = outer.left + outer.width;
- var outer_bottom = outer.top + outer.height;
+ var innerRight = inner.left + inner.width;
+ var innerBottom = inner.top + inner.height;
+ var outerRight = outer.left + outer.width;
+ var outerBottom = outer.top + outer.height;
if (inner.top > outer.top) {
context.fillRect(
outer.left, outer.top, outer.width, inner.top - outer.top);
@@ -314,13 +314,13 @@ Rect.fillBetween = function(context, inner, outer) {
context.fillRect(
outer.left, inner.top, inner.left - outer.left, inner.height);
}
- if (inner.width < outer_right) {
+ if (inner.width < outerRight) {
context.fillRect(
- inner_right, inner.top, outer_right - inner_right, inner.height);
+ innerRight, inner.top, outerRight - innerRight, inner.height);
}
- if (inner.height < outer_bottom) {
+ if (inner.height < outerBottom) {
context.fillRect(
- outer.left, inner_bottom, outer.width, outer_bottom - inner_bottom);
+ outer.left, innerBottom, outer.width, outerBottom - innerBottom);
}
};

Powered by Google App Engine
This is Rietveld 408576698