Skip to content

Commit

Permalink
5514687: Reland "Add a secret handshake to the base::Feature construc…
Browse files Browse the repository at this point in the history
  • Loading branch information
clavin authored and ckerr committed May 31, 2024
1 parent 2b3ff3a commit 142c6e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions shell/browser/native_window_features.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "shell/browser/native_window_features.h"

namespace features {
const base::Feature kWaylandWindowDecorations{"WaylandWindowDecorations",
base::FEATURE_ENABLED_BY_DEFAULT};
BASE_FEATURE(kWaylandWindowDecorations,
"WaylandWindowDecorations",
base::FEATURE_ENABLED_BY_DEFAULT);
}
6 changes: 3 additions & 3 deletions shell/renderer/api/electron_api_context_bridge.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
#include "third_party/blink/public/web/web_local_frame.h"

namespace features {

const base::Feature kContextBridgeMutability{"ContextBridgeMutability",
base::FEATURE_DISABLED_BY_DEFAULT};
BASE_FEATURE(kContextBridgeMutability,
"ContextBridgeMutability",
base::FEATURE_DISABLED_BY_DEFAULT);
}

namespace electron {
Expand Down

0 comments on commit 142c6e1

Please sign in to comment.