Skip to content

Commit

Permalink
[media] Remove decode_target_internal.cc (#4631)
Browse files Browse the repository at this point in the history
Removed
"//starboard/shared/starboard/decode_target/decode_target_internal.cc".
It only contains the default ctor and dtor for `SbDecodeTargetPrivate`,
and they are now moved into decode_target_internal.h to be inline.

b/327287075
  • Loading branch information
xiaomings authored Dec 31, 2024
1 parent 2d18198 commit 56d05dc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 22 deletions.
1 change: 0 additions & 1 deletion starboard/android/shared/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ static_library("starboard_platform") {
"//starboard/shared/starboard/command_line.cc",
"//starboard/shared/starboard/command_line.h",
"//starboard/shared/starboard/decode_target/decode_target_get_info.cc",
"//starboard/shared/starboard/decode_target/decode_target_internal.cc",
"//starboard/shared/starboard/decode_target/decode_target_internal.h",
"//starboard/shared/starboard/decode_target/decode_target_release.cc",
"//starboard/shared/starboard/drm/drm_close_session.cc",
Expand Down
19 changes: 0 additions & 19 deletions starboard/shared/starboard/decode_target/decode_target_internal.cc

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "starboard/common/ref_counted.h"

struct SbDecodeTargetPrivate : starboard::RefCounted<SbDecodeTargetPrivate> {
SbDecodeTargetPrivate();
SbDecodeTargetPrivate() = default;

SbDecodeTargetPrivate(const SbDecodeTargetPrivate&) = delete;
SbDecodeTargetPrivate& operator=(const SbDecodeTargetPrivate&) = delete;
Expand All @@ -30,7 +30,7 @@ struct SbDecodeTargetPrivate : starboard::RefCounted<SbDecodeTargetPrivate> {
protected:
friend class starboard::RefCounted<SbDecodeTargetPrivate>;

virtual ~SbDecodeTargetPrivate();
virtual ~SbDecodeTargetPrivate() = default;
};

#endif // STARBOARD_SHARED_STARBOARD_DECODE_TARGET_DECODE_TARGET_INTERNAL_H_

0 comments on commit 56d05dc

Please sign in to comment.