Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp |
| diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp b/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp |
| index a68f5d7774d4e23cd38ff2668fc0550fc47c248b..249f11600f42e8f949ae581b3b60c8c3d0fa1e5b 100644 |
| --- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp |
| +++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp |
| @@ -61,8 +61,10 @@ DOMTokenList* HTMLIFrameElement::sandbox() const |
| return m_sandbox.get(); |
| } |
| -DOMTokenList* HTMLIFrameElement::permissions() const |
| +DOMTokenList* HTMLIFrameElement::permissions() |
| { |
| + if (!initializePermissionsAttribute()) |
|
esprehn
2016/07/27 06:05:56
How can this fail? Does the spec say it can be nul
raymes
2016/07/27 06:13:45
Sorry my description was inaccurate. It doesn't ac
|
| + return nullptr; |
| return m_permissions.get(); |
| } |