| Index: chrome/browser/media/encrypted_media_browsertest.cc
 | 
| diff --git a/chrome/browser/media/encrypted_media_browsertest.cc b/chrome/browser/media/encrypted_media_browsertest.cc
 | 
| index c04916fbc4042036872b219847f435b5f8494c56..0e8c167ebf9a0ebf5a127e49ce3a457f44e026fd 100644
 | 
| --- a/chrome/browser/media/encrypted_media_browsertest.cc
 | 
| +++ b/chrome/browser/media/encrypted_media_browsertest.cc
 | 
| @@ -16,6 +16,7 @@
 | 
|  #include "chrome/browser/ui/browser.h"
 | 
|  #include "chrome/browser/ui/tabs/tab_strip_model.h"
 | 
|  #include "chrome/common/chrome_switches.h"
 | 
| +#include "chrome/test/base/test_launcher_utils.h"
 | 
|  #include "content/public/common/content_switches.h"
 | 
|  #include "content/public/test/browser_test_utils.h"
 | 
|  #include "testing/gtest/include/gtest/gtest-spi.h"
 | 
| @@ -98,8 +99,6 @@ static bool IsMSESupported() {
 | 
|  // Base class for encrypted media tests.
 | 
|  class EncryptedMediaTestBase : public MediaBrowserTest {
 | 
|   public:
 | 
| -  EncryptedMediaTestBase() {}
 | 
| -
 | 
|    bool IsExternalClearKey(const std::string& key_system) {
 | 
|      if (key_system == kExternalClearKeyKeySystem)
 | 
|        return true;
 | 
| @@ -241,6 +240,15 @@ class EncryptedMediaTestBase : public MediaBrowserTest {
 | 
|          switches::kDisableGestureRequirementForMediaPlayback);
 | 
|    }
 | 
|  
 | 
| +#if defined(ENABLE_PEPPER_CDMS)
 | 
| +  void SetUpDefaultCommandLine(base::CommandLine* command_line) override {
 | 
| +    base::CommandLine default_command_line(base::CommandLine::NO_PROGRAM);
 | 
| +    InProcessBrowserTest::SetUpDefaultCommandLine(&default_command_line);
 | 
| +    test_launcher_utils::RemoveCommandLineSwitch(
 | 
| +        default_command_line, switches::kDisableComponentUpdate, command_line);
 | 
| +  }
 | 
| +#endif  // defined(ENABLE_PEPPER_CDMS)
 | 
| +
 | 
|    void SetUpCommandLineForKeySystem(const std::string& key_system,
 | 
|                                      base::CommandLine* command_line) {
 | 
|      if (GetServerConfig(key_system))
 | 
| @@ -255,13 +263,6 @@ class EncryptedMediaTestBase : public MediaBrowserTest {
 | 
|                          kClearKeyCdmAdapterFileName, kClearKeyCdmDisplayName,
 | 
|                          kClearKeyCdmPepperMimeType);
 | 
|      }
 | 
| -#if defined(WIDEVINE_CDM_AVAILABLE) && defined(WIDEVINE_CDM_IS_COMPONENT)
 | 
| -    else if (IsWidevine(key_system)) {  // NOLINT
 | 
| -      RegisterPepperCdm(command_line, kWidevineCdmBaseDirectory,
 | 
| -                        kWidevineCdmAdapterFileName, kWidevineCdmDisplayName,
 | 
| -                        kWidevineCdmPluginMimeType);
 | 
| -    }
 | 
| -#endif  // defined(WIDEVINE_CDM_AVAILABLE) && defined(WIDEVINE_CDM_IS_COMPONENT)
 | 
|  #endif  // defined(ENABLE_PEPPER_CDMS)
 | 
|    }
 | 
|  };
 | 
| 
 |