aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/StreamTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/StreamTest.cpp')
-rw-r--r--tests/StreamTest.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/StreamTest.cpp b/tests/StreamTest.cpp
index 2e8078e337..26fea37f9e 100644
--- a/tests/StreamTest.cpp
+++ b/tests/StreamTest.cpp
@@ -249,11 +249,7 @@ static void test_peeking_front_buffered_stream(skiatest::Reporter* r,
}
// Test that attempting to peek beyond the length of the buffer does not prevent rewinding.
-#ifdef SK_SUPPORT_LEGACY_STREAM_API
- bufferedStream.reset(SkFrontBufferedStream::Create(original.duplicate(), bufferSize));
-#else
bufferedStream = SkFrontBufferedStream::Make(original.duplicate(), bufferSize);
-#endif
REPORTER_ASSERT(r, bufferedStream != nullptr);
const size_t bytesToPeek = bufferSize + 1;