| Index: extensions/renderer/resources/guest_view/web_view_attributes.js
|
| diff --git a/extensions/renderer/resources/guest_view/web_view_attributes.js b/extensions/renderer/resources/guest_view/web_view_attributes.js
|
| index b566696c70adcf39b32ea5fa55a02e467bd4832f..ee1cb7edf22b8e72888045a2a109a59a9ecba7f7 100644
|
| --- a/extensions/renderer/resources/guest_view/web_view_attributes.js
|
| +++ b/extensions/renderer/resources/guest_view/web_view_attributes.js
|
| @@ -35,7 +35,7 @@ WebViewAttribute.prototype.setValue = function(value) {
|
| // Changes the attribute's value without triggering its mutation handler.
|
| WebViewAttribute.prototype.setValueIgnoreMutation = function(value) {
|
| this.ignoreMutation = true;
|
| - this.webViewImpl.element.setAttribute(this.name, value || '');
|
| + this.setValue(value);
|
| this.ignoreMutation = false;
|
| }
|
|
|
| @@ -211,9 +211,7 @@ SrcAttribute.prototype.setValueIgnoreMutation = function(value) {
|
| // observer |observer|, and then get handled even though we do not want to
|
| // handle this mutation.
|
| this.observer.takeRecords();
|
| - this.ignoreMutation = true;
|
| - this.webViewImpl.element.setAttribute(this.name, value || '');
|
| - this.ignoreMutation = false;
|
| + WebViewAttribute.prototype.setValueIgnoreMutation.call(this, value);
|
| }
|
|
|
| SrcAttribute.prototype.handleMutation = function(oldValue, newValue) {
|
|
|