Index: chrome/gpu/gpu_arc_video_service.cc |
diff --git a/chrome/gpu/gpu_arc_video_service.cc b/chrome/gpu/gpu_arc_video_service.cc |
index 2bef6bbf65c9072eeeb23adffd697015a12b66fd..510ee2e147f578fb1d9908ada9d51246edb57b9d 100644 |
--- a/chrome/gpu/gpu_arc_video_service.cc |
+++ b/chrome/gpu/gpu_arc_video_service.cc |
@@ -27,7 +27,6 @@ struct TypeConverter<arc::mojom::BufferMetadataPtr, |
const chromeos::arc::BufferMetadata& input) { |
arc::mojom::BufferMetadataPtr result = arc::mojom::BufferMetadata::New(); |
result->timestamp = input.timestamp; |
- result->flags = input.flags; |
result->bytes_used = input.bytes_used; |
return result; |
} |
@@ -40,7 +39,6 @@ struct TypeConverter<chromeos::arc::BufferMetadata, |
const arc::mojom::BufferMetadataPtr& input) { |
chromeos::arc::BufferMetadata result; |
result.timestamp = input->timestamp; |
- result.flags = input->flags; |
result.bytes_used = input->bytes_used; |
return result; |
} |
@@ -152,6 +150,11 @@ class GpuArcVideoService::AcceleratorStub |
client_->OnResetDone(); |
} |
+ void OnFlushDone() override { |
+ DVLOG(2) << "OnFlushDone"; |
+ client_->OnFlushDone(); |
+ } |
+ |
void OnOutputFormatChanged(const VideoFormat& format) override { |
DVLOG(2) << "OnOutputFormatChanged"; |
client_->OnOutputFormatChanged(::arc::mojom::VideoFormat::From(format)); |
@@ -213,6 +216,8 @@ class GpuArcVideoService::AcceleratorStub |
void Reset() override { accelerator_->Reset(); } |
+ void Flush() override { accelerator_->Flush(); } |
+ |
private: |
base::ThreadChecker thread_checker_; |
GpuArcVideoService* const owner_; |