| Index: chrome/browser/resources/chromeos/chromevox/chromevox/injected/script_installer.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/script_installer.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/script_installer.js
|
| index a76e503688cba08cb7ea31e07d16856c4527eaaa..471039b363ad2301400cd1d91693a967428e73f2 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/script_installer.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/script_installer.js
|
| @@ -10,7 +10,6 @@
|
|
|
| goog.provide('cvox.ScriptInstaller');
|
|
|
| -goog.require('cvox.DomUtil');
|
|
|
| /**
|
| * URL pattern where we do not allow script installation.
|
| @@ -93,7 +92,8 @@ cvox.ScriptInstaller.installScriptHelper_ = function(srcs, uid, opt_onload,
|
| apiScript.setAttribute('chromevoxScriptBase',
|
| opt_chromevoxScriptBase);
|
| }
|
| - cvox.DomUtil.addNodeToHead(apiScript);
|
| + var scriptOwner = document.head || document.body;
|
| + scriptOwner.appendChild(apiScript);
|
| next();
|
| }
|
| };
|
|
|