| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 24653d18bde3b5b7a498e33cacba774338031016..3282f7c3b373f481adef08ced88e28a4fb5457ce 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -1611,15 +1611,6 @@ bool IsAutoReloadVisibleOnlyEnabled() {
|
| return true;
|
| }
|
|
|
| -#if !defined(OS_ANDROID)
|
| -bool AreExperimentalWebPlatformFeaturesEnabled() {
|
| - const base::CommandLine& browser_command_line =
|
| - *base::CommandLine::ForCurrentProcess();
|
| - return browser_command_line.HasSwitch(
|
| - switches::kEnableExperimentalWebPlatformFeatures);
|
| -}
|
| -#endif
|
| -
|
| void MaybeAppendBlinkSettingsSwitchForFieldTrial(
|
| const base::CommandLine& browser_command_line,
|
| base::CommandLine* command_line) {
|
| @@ -3225,8 +3216,7 @@ void ChromeContentBrowserClient::ExposeInterfacesToFrame(
|
| web_contents->GetJavaInterfaces()->GetWeakPtr()));
|
| }
|
| #else
|
| - if (AreExperimentalWebPlatformFeaturesEnabled() &&
|
| - base::FeatureList::IsEnabled(features::kWebPayments)) {
|
| + if (base::FeatureList::IsEnabled(features::kWebPayments)) {
|
| content::WebContents* web_contents =
|
| content::WebContents::FromRenderFrameHost(render_frame_host);
|
| if (web_contents) {
|
|
|