| Index: third_party/WebKit/Source/core/html/HTMLIFrameElementTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElementTest.cpp b/third_party/WebKit/Source/core/html/HTMLIFrameElementTest.cpp
|
| index 2651ecb15fc222ea76df288f677cf198de81671c..0d579c1f3f286b1fb13320bd23425bf2db48d8ee 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLIFrameElementTest.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLIFrameElementTest.cpp
|
| @@ -12,7 +12,7 @@ namespace blink {
|
| // Test setting via the Element attribute (HTML codepath).
|
| TEST(HTMLIFrameElementTest, SetPermissionsAttribute) {
|
| Document* document = Document::create();
|
| - HTMLIFrameElement* iframe = HTMLIFrameElement::create(*document);
|
| + HTMLIFrameElement* iframe = HTMLIFrameElement::create(*document, false);
|
|
|
| iframe->setAttribute(HTMLNames::permissionsAttr, "geolocation");
|
| EXPECT_EQ("geolocation", iframe->permissions()->value());
|
| @@ -23,7 +23,7 @@ TEST(HTMLIFrameElementTest, SetPermissionsAttribute) {
|
| // Test setting via the DOMTokenList (JS codepath).
|
| TEST(HTMLIFrameElementTest, SetPermissionsAttributeJS) {
|
| Document* document = Document::create();
|
| - HTMLIFrameElement* iframe = HTMLIFrameElement::create(*document);
|
| + HTMLIFrameElement* iframe = HTMLIFrameElement::create(*document, false);
|
|
|
| iframe->permissions()->setValue("midi");
|
| EXPECT_EQ("midi", iframe->getAttribute(HTMLNames::permissionsAttr));
|
|
|