Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Unified Diff: media/base/media.cc

Issue 2907563002: allocator/Windows: delete the old non-unified allocator-shim (Closed)
Patch Set: remove comment Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media.cc
diff --git a/media/base/media.cc b/media/base/media.cc
index 82cff856b7d2c03a3aade3075130f8918f42d626..e058b6a15dcf2ce3721f4bbd3778aacf520ce685 100644
--- a/media/base/media.cc
+++ b/media/base/media.cc
@@ -4,6 +4,7 @@
#include "media/base/media.h"
+#include "base/allocator/features.h"
#include "base/command_line.h"
#include "base/macros.h"
#include "base/metrics/field_trial.h"
@@ -39,10 +40,10 @@ class MediaInitializer {
// Disable logging as it interferes with layout tests.
av_log_set_level(AV_LOG_QUIET);
-#if defined(ALLOCATOR_SHIM)
+#if BUILDFLAG(USE_ALLOCATOR_SHIM)
// Remove allocation limit from ffmpeg, so calls go down to shim layer.
av_max_alloc(0);
-#endif // defined(ALLOCATOR_SHIM)
+#endif // BUILDFLAG(USE_ALLOCATOR_SHIM)
#endif // !defined(MEDIA_DISABLE_FFMPEG)
}
« no previous file with comments | « media/base/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698