Index: third_party/WebKit/Source/devtools/front_end/extensions/ExtensionRegistryStub.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionRegistryStub.js b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionRegistryStub.js |
index 7e31b83cfe6a4a0b12dd14ed047557b62b4d24a6..5765bbe7ccad190178b91c661ba86c6af2cfd291 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionRegistryStub.js |
+++ b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionRegistryStub.js |
@@ -27,16 +27,14 @@ |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
- |
if (!window.InspectorExtensionRegistry) { |
- /** |
- * @constructor |
- */ |
- WebInspector.InspectorExtensionRegistryStub = function() { }; |
- |
- WebInspector.InspectorExtensionRegistryStub.prototype = { |
- getExtensionsAsync: function() { } |
- }; |
+ /** |
+ * @unrestricted |
+ */ |
+ WebInspector.InspectorExtensionRegistryStub = class { |
+ getExtensionsAsync() { |
+ } |
+ }; |
- var InspectorExtensionRegistry = new WebInspector.InspectorExtensionRegistryStub(); |
+ var InspectorExtensionRegistry = new WebInspector.InspectorExtensionRegistryStub(); |
} |