Index: content/test/test_blink_web_unit_test_support.cc |
diff --git a/content/test/test_blink_web_unit_test_support.cc b/content/test/test_blink_web_unit_test_support.cc |
index bd999fcf8bbe1978f005a7516395c03476e1243f..978c42a436c190eee14dcd834527da436d5b07b4 100644 |
--- a/content/test/test_blink_web_unit_test_support.cc |
+++ b/content/test/test_blink_web_unit_test_support.cc |
@@ -24,6 +24,7 @@ |
#include "content/test/mock_webclipboard_impl.h" |
#include "content/test/web_gesture_curve_mock.h" |
#include "media/base/media.h" |
+#include "media/media_features.h" |
#include "net/cookies/cookie_monster.h" |
#include "storage/browser/database/vfs_backend.h" |
#include "third_party/WebKit/public/platform/WebConnectionType.h" |
@@ -48,7 +49,7 @@ |
#include "gin/v8_initializer.h" // nogncheck |
#endif |
-#if defined(ENABLE_WEBRTC) |
+#if BUILDFLAG(ENABLE_WEBRTC) |
#include "content/renderer/media/rtc_certificate.h" |
#include "third_party/WebKit/public/platform/WebRTCCertificateGenerator.h" |
#include "third_party/webrtc/base/rtccertificate.h" |
@@ -309,7 +310,7 @@ void TestBlinkWebUnitTestSupport::getPluginList( |
builder->addMediaTypeToLastPlugin("application/pdf", "pdf"); |
} |
-#if defined(ENABLE_WEBRTC) |
+#if BUILDFLAG(ENABLE_WEBRTC) |
namespace { |
class TestWebRTCCertificateGenerator |
@@ -341,11 +342,11 @@ class TestWebRTCCertificateGenerator |
}; |
} // namespace |
-#endif // defined(ENABLE_WEBRTC) |
+#endif // BUILDFLAG(ENABLE_WEBRTC) |
blink::WebRTCCertificateGenerator* |
TestBlinkWebUnitTestSupport::createRTCCertificateGenerator() { |
-#if defined(ENABLE_WEBRTC) |
+#if BUILDFLAG(ENABLE_WEBRTC) |
return new TestWebRTCCertificateGenerator(); |
#else |
return nullptr; |