Skip to content

Commit

Permalink
[media] Set RendererType to StarboardRenderer
Browse files Browse the repository at this point in the history
As [PR 4453](#4453) introduced `RendererType::kStarboard`, set it to StarboardRenderer.

b/375278384
  • Loading branch information
borongc committed Nov 25, 2024
1 parent 8a934a6 commit 291092f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions media/starboard/starboard_renderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,7 @@ class MEDIA_EXPORT StarboardRenderer final : public Renderer,
// TODO(b/375271848): Address NOTIMPLEMENTED().
NOTIMPLEMENTED();
}
RendererType GetRendererType() final {
// Reuse `kRendererImpl` to avoid introducing a new renderer type.
// TODO(b/375278384): Properly setup the renderer type.
return RendererType::kRendererImpl;
}
RendererType GetRendererType() final { return RendererType::kStarboard; }
SetBoundsCB GetSetBoundsCB() override;

private:
Expand Down

0 comments on commit 291092f

Please sign in to comment.