| Index: third_party/WebKit/LayoutTests/resources/mojo-helpers.js
|
| diff --git a/third_party/WebKit/LayoutTests/resources/mojo-helpers.js b/third_party/WebKit/LayoutTests/resources/mojo-helpers.js
|
| index 481ed60b8f1c0a5b7a640668cc992b263e75a7b4..92ddd8d5ae3e7c07dbd8dcf2bdcbf9ab341a1a46 100644
|
| --- a/third_party/WebKit/LayoutTests/resources/mojo-helpers.js
|
| +++ b/third_party/WebKit/LayoutTests/resources/mojo-helpers.js
|
| @@ -12,10 +12,10 @@ let define = (function(){
|
| return function(name, deps, factory) {
|
| let promise = moduleCache.get(name);
|
| if (promise === undefined) {
|
| - // This promise must be cached as mojo.define will only call the factory
|
| + // This promise must be cached as gin.define will only call the factory
|
| // function the first time the module is defined.
|
| promise = new Promise(resolve => {
|
| - mojo.define(name, deps, (...modules) => {
|
| + gin.define(name, deps, (...modules) => {
|
| let result = factory(...modules);
|
| resolve(result);
|
| return result;
|
|
|