summaryrefslogtreecommitdiff
path: root/chromium/media/gpu/v4l2/v4l2_vda_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/media/gpu/v4l2/v4l2_vda_helpers.h')
-rw-r--r--chromium/media/gpu/v4l2/v4l2_vda_helpers.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/media/gpu/v4l2/v4l2_vda_helpers.h b/chromium/media/gpu/v4l2/v4l2_vda_helpers.h
index 05b74a3205d..0fc4dfcf614 100644
--- a/chromium/media/gpu/v4l2/v4l2_vda_helpers.h
+++ b/chromium/media/gpu/v4l2/v4l2_vda_helpers.h
@@ -8,10 +8,10 @@
#include <memory>
#include "base/memory/scoped_refptr.h"
-#include "base/optional.h"
#include "media/base/video_codecs.h"
#include "media/gpu/chromeos/fourcc.h"
#include "media/gpu/chromeos/image_processor.h"
+#include "third_party/abseil-cpp/absl/types/optional.h"
#include "ui/gfx/geometry/size.h"
namespace media {
@@ -26,9 +26,9 @@ class H264Parser;
namespace v4l2_vda_helpers {
// Returns a usable input format of image processor, or nullopt if not found.
-base::Optional<Fourcc> FindImageProcessorInputFormat(V4L2Device* vda_device);
+absl::optional<Fourcc> FindImageProcessorInputFormat(V4L2Device* vda_device);
// Return a usable output format of image processor, or nullopt if not found.
-base::Optional<Fourcc> FindImageProcessorOutputFormat(V4L2Device* ip_device);
+absl::optional<Fourcc> FindImageProcessorOutputFormat(V4L2Device* ip_device);
// Create and return an image processor for the given parameters, or nullptr
// if it cannot be created.