media: Fix ENABLE_MOJO_MEDIA_IN_BROWSER_PROCESS check
Replace if (ENABLE_MOJO_MEDIA_IN_BROWSER_PROCESS) with if defined(ENABLE_MOJO_MEDIA_IN_BROWSER_PROCESS) The former was working because some compilers predefine FOO to be 1 when -DFOO is specified. For example: https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html But I am not sure whether this is true for all compilers. Hence we probably should not depend on it. Long term, we should switch to use BUILDFLAG to avoid this. TBR=mkwst@chromium.org BUG=596252 Review-Url: https://codereview.chromium.org/2616703005 Cr-Commit-Position: refs/heads/master@{#441782}
Showing
Please register or sign in to comment