| Index: third_party/WebKit/Source/core/frame/Frame.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/Frame.cpp b/third_party/WebKit/Source/core/frame/Frame.cpp
|
| index 9b1434afa3b22c478bf29334f32f561ed62196c2..ac58bda60b607176bdd6f9743c581cae6e875c7f 100644
|
| --- a/third_party/WebKit/Source/core/frame/Frame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/Frame.cpp
|
| @@ -49,6 +49,7 @@
|
| #include "core/page/Page.h"
|
| #include "platform/Histogram.h"
|
| #include "platform/UserGestureIndicator.h"
|
| +#include "platform/feature_policy/FeaturePolicy.h"
|
|
|
| namespace blink {
|
|
|
| @@ -64,6 +65,7 @@ DEFINE_TRACE(Frame) {
|
| visitor->trace(m_host);
|
| visitor->trace(m_owner);
|
| visitor->trace(m_client);
|
| + visitor->trace(m_featurePolicy);
|
| }
|
|
|
| void Frame::detach(FrameDetachType type) {
|
| @@ -325,7 +327,8 @@ Frame::Frame(FrameClient* client, FrameHost* host, FrameOwner* owner)
|
| m_host(host),
|
| m_owner(owner),
|
| m_client(client),
|
| - m_isLoading(false) {
|
| + m_isLoading(false),
|
| + m_featurePolicy(nullptr) {
|
| InstanceCounters::incrementCounter(InstanceCounters::FrameCounter);
|
|
|
| ASSERT(page());
|
|
|