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

Unified Diff: remoting/webapp/base/js/window_shape.js

Issue 803653004: Update Chromoting to use /third_party/closure_compiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Define Entry for browser_tests Created 5 years, 11 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: remoting/webapp/base/js/window_shape.js
diff --git a/remoting/webapp/base/js/window_shape.js b/remoting/webapp/base/js/window_shape.js
index e609aef69e3873f6f1dda0361cdd3b12cc792be5..cbeea972ecfa6efac344e2a24f0cdc7223498e0f 100644
--- a/remoting/webapp/base/js/window_shape.js
+++ b/remoting/webapp/base/js/window_shape.js
@@ -70,8 +70,7 @@ remoting.WindowShape.prototype.updateClientWindowShape = function() {
this.clientUICallbacks_[i].addToRegion(rects);
}
for (var i = 0; i < rects.length; ++i) {
- /** @type {ClientRect} */
- var rect = rects[i];
+ var rect = /** @type {ClientRect} */ (rects[i]);
var left = Math.floor(rect.left);
var right = Math.ceil(rect.left + rect.width);
var top = Math.floor(rect.top);

Powered by Google App Engine
This is Rietveld 408576698