Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/find_handler.js |
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/find_handler.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/find_handler.js |
index 5aa0a7c1dfad5ce532f786677f369b9cd3935a10..a792988c7e11b80d5750641932e7225fa2e59979 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/find_handler.js |
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/find_handler.js |
@@ -27,7 +27,8 @@ FindHandler.onModeChanged = function(newMode, oldMode) { |
*/ |
FindHandler.init_ = function() { |
chrome.automation.addTreeChangeObserver( |
- 'textMarkerChanges', FindHandler.onTextMatch_); |
+ chrome.automation.TreeChangeObserverFilter.TEXT_MARKER_CHANGES, |
+ FindHandler.onTextMatch_); |
}; |
/** |