diff --git a/src/net/BUILD.gn b/src/net/BUILD.gn index 0bb1ad940c..d24ec5960c 100644 --- a/src/net/BUILD.gn +++ b/src/net/BUILD.gn @@ -1596,7 +1596,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 41e61319a5..465439b580 100644 --- a/src/net/cookies/cookie_partition_key.cc +++ b/src/net/cookies/cookie_partition_key.cc @@ -15,7 +15,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 @@ -47,7 +47,7 @@ CookiePartitionKey::SerializedCookiePartitionKey::TopLevelSite() const { return top_level_site_; } -#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 7bf6840025..eca427080c 100644 --- a/src/net/cookies/cookie_partition_key.h +++ b/src/net/cookies/cookie_partition_key.h @@ -17,7 +17,7 @@ #include "net/cookies/site_for_cookies.h" #include "url/gurl.h" -#if !BUILDFLAG(CRONET_BUILD) +#if 0 #include "mojo/public/cpp/bindings/default_construct_tag.h" #endif @@ -57,7 +57,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);