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

Unified Diff: content/common/frame_replication_state.cc

Issue 1141283002: Replicate whether a frame is in a document or shadow tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo Created 5 years, 7 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: content/common/frame_replication_state.cc
diff --git a/content/common/frame_replication_state.cc b/content/common/frame_replication_state.cc
index 1c1530ca89d3e96dae332470b2f576f4795df140..df5c136a49bb1747fccdca5583702da2b27f6cfa 100644
--- a/content/common/frame_replication_state.cc
+++ b/content/common/frame_replication_state.cc
@@ -3,16 +3,19 @@
// found in the LICENSE file.
#include "content/common/frame_replication_state.h"
+#include "third_party/WebKit/public/web/WebTreeScopeType.h"
namespace content {
FrameReplicationState::FrameReplicationState()
- : FrameReplicationState("", SandboxFlags::NONE) {
+ : sandbox_flags(SandboxFlags::NONE),
+ scope(blink::WebTreeScopeType::Document) {
}
-FrameReplicationState::FrameReplicationState(const std::string& name,
+FrameReplicationState::FrameReplicationState(blink::WebTreeScopeType scope,
+ const std::string& name,
SandboxFlags sandbox_flags)
- : origin(), sandbox_flags(sandbox_flags), name(name) {
+ : origin(), sandbox_flags(sandbox_flags), name(name), scope(scope) {
}
FrameReplicationState::~FrameReplicationState() {

Powered by Google App Engine
This is Rietveld 408576698