| Index: ui/webui/resources/js/cr.js
|
| diff --git a/ui/webui/resources/js/cr.js b/ui/webui/resources/js/cr.js
|
| index 95b2cee051b836a29c60faa31bad5fae2a807b6f..94c7553714cdc167a2c7bf87009f7416b80aae33 100644
|
| --- a/ui/webui/resources/js/cr.js
|
| +++ b/ui/webui/resources/js/cr.js
|
| @@ -294,23 +294,6 @@
|
| };
|
| }
|
|
|
| - /**
|
| - * Forwards public APIs to private implementations.
|
| - * @param {Function} ctor Constructor that have private implementations in its
|
| - * prototype.
|
| - * @param {Array.<string>} methods List of public method names that have their
|
| - * underscored counterparts in constructor's prototype.
|
| - * @param {*=} opt_target Target node.
|
| - */
|
| - function makePublic(ctor, methods, opt_target) {
|
| - methods.forEach(function(method) {
|
| - ctor[method] = function() {
|
| - var target = opt_target || ctor.getInstance();
|
| - return target[method + '_'].apply(target, arguments);
|
| - };
|
| - });
|
| - }
|
| -
|
| return {
|
| addSingletonGetter: addSingletonGetter,
|
| createUid: createUid,
|
| @@ -320,7 +303,6 @@
|
| dispatchSimpleEvent: dispatchSimpleEvent,
|
| exportPath: exportPath,
|
| getUid: getUid,
|
| - makePublic: makePublic,
|
| PropertyKind: PropertyKind,
|
|
|
| get doc() {
|
|
|