Skip to content

Commit

Permalink
Fix compile issue caused by rebase
Browse files Browse the repository at this point in the history
b/230877781

Change-Id: I27cf18694223565145116fabec1b9902cbaaae12
  • Loading branch information
jasonzhangxx committed Jun 21, 2023
1 parent 418b2ce commit a666683
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion starboard/nplb/vertical_video_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "starboard/nplb/player_test_util.h"
#include "starboard/player.h"
#include "starboard/shared/starboard/player/video_dmp_reader.h"
#include "starboard/testing/fake_graphics_context_provider.h"
#include "starboard/time.h"
#include "testing/gtest/include/gtest/gtest.h"

Expand All @@ -35,6 +36,8 @@ using ::testing::ValuesIn;
typedef SbPlayerTestFixture::GroupedSamples GroupedSamples;

class VerticalVideoTest : public ::testing::TestWithParam<SbPlayerTestConfig> {
protected:
testing::FakeGraphicsContextProvider fake_graphics_context_provider_;
};

void CheckVerticalResolutionSupport(const char* mime) {
Expand Down Expand Up @@ -117,7 +120,8 @@ TEST(VerticalVideoTest, CapabilityQuery) {
}

TEST_P(VerticalVideoTest, WriteSamples) {
SbPlayerTestFixture player_fixture(GetParam());
SbPlayerTestFixture player_fixture(GetParam(),
&fake_graphics_context_provider_);
if (HasFatalFailure()) {
return;
}
Expand Down

0 comments on commit a666683

Please sign in to comment.