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

Unified Diff: third_party/google_input_tools/third_party/closure_library/closure/goog/style/bidi.js

Issue 1257313003: Update Google Input Tools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Free up grd resources. Created 5 years, 5 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: third_party/google_input_tools/third_party/closure_library/closure/goog/style/bidi.js
diff --git a/third_party/google_input_tools/third_party/closure_library/closure/goog/style/bidi.js b/third_party/google_input_tools/third_party/closure_library/closure/goog/style/bidi.js
index 2d5c7c586d1ad4145183ea8dc84408f8dd556bae..e52a4b249a14fd5638319551baa6e27c30bea69d 100644
--- a/third_party/google_input_tools/third_party/closure_library/closure/goog/style/bidi.js
+++ b/third_party/google_input_tools/third_party/closure_library/closure/goog/style/bidi.js
@@ -86,6 +86,7 @@ goog.style.bidi.getScrollLeft = function(element) {
* @return {number} The offsetStart for that element.
*/
goog.style.bidi.getOffsetStart = function(element) {
+ element = /** @type {!HTMLElement} */ (element);
var offsetLeftForReal = element.offsetLeft;
// The element might not have an offsetParent.

Powered by Google App Engine
This is Rietveld 408576698