Index: chrome/browser/resources/ntp4/new_tab.js |
diff --git a/chrome/browser/resources/ntp4/new_tab.js b/chrome/browser/resources/ntp4/new_tab.js |
index eba90c132b1fe49da09d2c3eea791354ef589ff2..847f14fe483f423b90378569027b00e9a73ee83f 100644 |
--- a/chrome/browser/resources/ntp4/new_tab.js |
+++ b/chrome/browser/resources/ntp4/new_tab.js |
@@ -150,7 +150,9 @@ cr.define('ntp4', function() { |
chrome.send('initializeSyncLogin'); |
$('login-container').addEventListener('click', function() { |
- chrome.send('showSyncLoginUI'); |
+ var rect = $('login-container').getBoundingClientRect(); |
+ chrome.send('showSyncLoginUI', |
+ [rect.left, rect.top, rect.width, rect.height]); |
}); |
// Prevent touch events from triggering any sort of native scrolling |