Commit b637f11d authored by paulmeyer's avatar paulmeyer Committed by Commit bot

Fix for undefined reject() in extension_view_api_methods.js.

It looks like reject() is defined in extension_view.js. Perhaps this code was pulled from there at some point. In any case, it seems that this should just be a call to this.pendingLoad.reject().

BUG=642849

Review-Url: https://codereview.chromium.org/2298803004
Cr-Commit-Position: refs/heads/master@{#415745}
parent 71391dec
...@@ -32,9 +32,9 @@ ExtensionViewImpl.prototype.load = function(src) { ...@@ -32,9 +32,9 @@ ExtensionViewImpl.prototype.load = function(src) {
this.pendingLoad = null; this.pendingLoad = null;
this.loadNextSrc(); this.loadNextSrc();
}.bind(this), function onLoadRejected() { }.bind(this), function onLoadRejected() {
this.pendingLoad.reject('Failed to load.');
this.pendingLoad = null; this.pendingLoad = null;
this.loadNextSrc(); this.loadNextSrc();
reject('Failed to load.');
}.bind(this)); }.bind(this));
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment