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

Unified Diff: chrome/browser/resources/print_preview/common/search_bubble.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 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/print_preview/common/search_bubble.js
diff --git a/chrome/browser/resources/print_preview/common/search_bubble.js b/chrome/browser/resources/print_preview/common/search_bubble.js
index 9f85bc4a8409a3dfdf6431ce95da82007087fcd0..ab78aa57d939a005dc845d7b2340e2db8adcd9e3 100644
--- a/chrome/browser/resources/print_preview/common/search_bubble.js
+++ b/chrome/browser/resources/print_preview/common/search_bubble.js
@@ -91,8 +91,8 @@ cr.define('print_preview', function() {
return;
// Position the bubble below the location of the owner.
- var left = owner.offsetLeft + owner.offsetWidth / 2 -
- this.offsetWidth / 2;
+ var left =
+ owner.offsetLeft + owner.offsetWidth / 2 - this.offsetWidth / 2;
var top = owner.offsetTop + owner.offsetHeight;
// Update the position in the CSS. Cache the last values for
@@ -109,7 +109,5 @@ cr.define('print_preview', function() {
};
// Export
- return {
- SearchBubble: SearchBubble
- };
+ return {SearchBubble: SearchBubble};
});

Powered by Google App Engine
This is Rietveld 408576698