Index: chrome/browser/resources/chromeos/chromevox/chromevox/injected/active_indicator.js |
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/active_indicator.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/active_indicator.js |
index 9d3a5370adcd163c211325c59a2d66301f1eb724..f318aee63a1d04a92c9106c166e594e54ee496b6 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/active_indicator.js |
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/active_indicator.js |
@@ -474,7 +474,7 @@ cvox.ActiveIndicator.prototype.moveIndicator_ = function( |
var now = new Date().getTime(); |
var delta = now - this.lastMoveTime_; |
this.container_.className = 'cvox_indicator_container'; |
- if (!document.hasFocus() || this.blurred_) { |
+ if (!cvox.ChromeVox.documentHasFocus() || this.blurred_) { |
this.container_.classList.add('cvox_indicator_window_not_focused'); |
} |
if (delta > cvox.ActiveIndicator.NORMAL_ANIM_DELAY_MS) { |