Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Unified Diff: third_party/WebKit/Source/core/frame/Frame.cpp

Issue 2254533002: [FeaturePolicy] Initial implementation of Feature Policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fp-flag
Patch Set: Remove overaggressive bool transform Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 ee808e44264357eee823f4730d57dec70325e023..a9f6ff2c0167cb2675c6787376991297a850e0c6 100644
--- a/third_party/WebKit/Source/core/frame/Frame.cpp
+++ b/third_party/WebKit/Source/core/frame/Frame.cpp
@@ -48,6 +48,7 @@
#include "core/page/Page.h"
#include "platform/Histogram.h"
#include "platform/UserGestureIndicator.h"
+#include "platform/feature_policy/FeaturePolicy.h"
namespace blink {
@@ -65,6 +66,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)
@@ -313,6 +315,7 @@ Frame::Frame(FrameClient* client, FrameHost* host, FrameOwner* owner)
, m_owner(owner)
, m_client(client)
, m_isLoading(false)
+ , m_featurePolicy(nullptr)
{
InstanceCounters::incrementCounter(InstanceCounters::FrameCounter);

Powered by Google App Engine
This is Rietveld 408576698