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

Unified Diff: chrome/browser/resources/chromeos/chromevox/braille/liblouis.js

Issue 917793003: Actual fix for braille translation initialization race. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 10 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
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/braille/braille_translator_manager.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/chromevox/braille/liblouis.js
diff --git a/chrome/browser/resources/chromeos/chromevox/braille/liblouis.js b/chrome/browser/resources/chromeos/chromevox/braille/liblouis.js
index 474fbdabe5db6c7365e46ba7f525909074b8727b..41be602282ade268b422b610d97d426365710ff7 100644
--- a/chrome/browser/resources/chromeos/chromevox/braille/liblouis.js
+++ b/chrome/browser/resources/chromeos/chromevox/braille/liblouis.js
@@ -100,11 +100,6 @@ cvox.LibLouis.prototype.attachToElement = function(elem) {
embed.addEventListener('message', goog.bind(this.onInstanceMessage_, this),
false /* useCapture */);
elem.appendChild(embed);
- // TODO(plundblad): Remove when the real cause of crbug.com/455889
- // is fixed. Sending this empty message will cause the nacl component
- // to load and fire the load event properly.
- embed.postMessage('{}');
-
this.embedElement_ = /** @type {!HTMLEmbedElement} */ (embed);
this.instanceState_ = cvox.LibLouis.InstanceState.LOADING;
};
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/braille/braille_translator_manager.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698