Index: extensions/renderer/resources/guest_view/web_view.js |
diff --git a/extensions/renderer/resources/guest_view/web_view.js b/extensions/renderer/resources/guest_view/web_view.js |
index bc31e25ec58ffbcadd014c26a0095a0c84a426f8..e5fc2702b69aecc5ef6057b372790c43ef3cc1a4 100644 |
--- a/extensions/renderer/resources/guest_view/web_view.js |
+++ b/extensions/renderer/resources/guest_view/web_view.js |
@@ -107,13 +107,12 @@ WebViewImpl.prototype.setupElementProperties = function() { |
// This observer monitors mutations to attributes of the <webview>. |
WebViewImpl.prototype.handleAttributeMutation = function( |
attributeName, oldValue, newValue) { |
- if (!this.attributes[attributeName] || |
- this.attributes[attributeName].ignoreMutation) { |
+ if (!this.attributes[attributeName]) { |
return; |
} |
// Let the changed attribute handle its own mutation; |
- this.attributes[attributeName].handleMutation(oldValue, newValue); |
+ this.attributes[attributeName].maybeHandleMutation(oldValue, newValue); |
}; |
WebViewImpl.prototype.onSizeChanged = function(webViewEvent) { |