Commit d153ff26 authored by Sean McAllister's avatar Sean McAllister Committed by Commit Bot

Refactor OS_LINUX preprocessor directive for LaCrOS effort.

Currently, ChromeOS defines the OS_LINUX directive as well as
OS_CHROMEOS.  We're working to separate these two, so we're
making the fact that OS_LINUX == OS_LINUX || OS_CHROMEOS
explicit.

This is changes for /media/video/gpu_memory_buffer_video_frame_pool.cc

This CL was uploaded by git cl split.

R=dcastagna@chromium.org

Bug: 1110266
Change-Id: Ic8eb9551075af15901c576695ae94460e9fc3900
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2370731Reviewed-by: default avatarDaniele Castagna <dcastagna@chromium.org>
Commit-Queue: Sean McAllister <smcallis@google.com>
Cr-Commit-Position: refs/heads/master@{#801404}
parent acf78a47
...@@ -573,7 +573,7 @@ void GpuMemoryBufferVideoFramePool::PoolImpl::CreateHardwareFrame( ...@@ -573,7 +573,7 @@ void GpuMemoryBufferVideoFramePool::PoolImpl::CreateHardwareFrame(
} }
bool is_software_backed_video_frame = !video_frame->HasTextures(); bool is_software_backed_video_frame = !video_frame->HasTextures();
#if defined(OS_LINUX) #if defined(OS_LINUX) || defined(OS_CHROMEOS)
is_software_backed_video_frame &= !video_frame->HasDmaBufs(); is_software_backed_video_frame &= !video_frame->HasDmaBufs();
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment