diff --git a/src/net/BUILD.gn b/src/net/BUILD.gn index 46a820d930..3d0a5abe09 100644 --- a/src/net/BUILD.gn +++ b/src/net/BUILD.gn @@ -1654,7 +1654,7 @@ component("net") { configs += [ "//build/config/compiler:optimize_max" ] } - if (!is_cronet_build) { + if (false) { deps += [ "//mojo/public/cpp/bindings:default_construct_tag" ] } } diff --git a/src/net/cookies/cookie_partition_key.cc b/src/net/cookies/cookie_partition_key.cc index 3dea43a374..cf87c1c34d 100644 --- a/src/net/cookies/cookie_partition_key.cc +++ b/src/net/cookies/cookie_partition_key.cc @@ -16,7 +16,7 @@ #include "net/cookies/cookie_util.h" #include "net/cookies/site_for_cookies.h" -#if !BUILDFLAG(CRONET_BUILD) +#if 0 #include "mojo/public/cpp/bindings/default_construct_tag.h" #endif @@ -60,7 +60,7 @@ std::string CookiePartitionKey::SerializedCookiePartitionKey::GetDebugString() return out; } -#if !BUILDFLAG(CRONET_BUILD) +#if 0 CookiePartitionKey::CookiePartitionKey(mojo::DefaultConstruct::Tag) {} #endif bool CookiePartitionKey::SerializedCookiePartitionKey::has_cross_site_ancestor() diff --git a/src/net/cookies/cookie_partition_key.h b/src/net/cookies/cookie_partition_key.h index 79b5e9d7a0..4ef149ff8d 100644 --- a/src/net/cookies/cookie_partition_key.h +++ b/src/net/cookies/cookie_partition_key.h @@ -16,7 +16,7 @@ #include "net/base/schemeful_site.h" #include "url/gurl.h" -#if !BUILDFLAG(CRONET_BUILD) +#if 0 #include "mojo/public/cpp/bindings/default_construct_tag.h" #endif @@ -60,7 +60,7 @@ class NET_EXPORT CookiePartitionKey { static AncestorChainBit BoolToAncestorChainBit(bool val); CookiePartitionKey() = delete; -#if !BUILDFLAG(CRONET_BUILD) +#if 0 explicit CookiePartitionKey(mojo::DefaultConstruct::Tag); #endif CookiePartitionKey(const CookiePartitionKey& other);