Chromium Code Reviews| Index: webrtc/test/fake_texture_frame.h |
| diff --git a/webrtc/test/fake_texture_frame.h b/webrtc/test/fake_texture_frame.h |
| index bc911ccba436efc9f531cdff46ed13c51e0ae073..db4cfb8fa78c2c7c0b7b8c3c763f2c656b07cf8b 100644 |
| --- a/webrtc/test/fake_texture_frame.h |
| +++ b/webrtc/test/fake_texture_frame.h |
| @@ -1,5 +1,5 @@ |
| /* |
| - * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
| + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
|
kjellander_webrtc
2016/01/04 19:16:38
This file already existed, so it should actually b
pbos-webrtc
2016/01/04 21:35:18
Oops, changed the wrong file. :)
|
| * |
| * Use of this source code is governed by a BSD-style license |
| * that can be found in the LICENSE file in the root of the source |
| @@ -17,7 +17,15 @@ |
| namespace webrtc { |
| namespace test { |
| -class FakeNativeHandle {}; |
| +class FakeNativeHandle { |
| + public: |
| + static VideoFrame CreateFrame(FakeNativeHandle* native_handle, |
| + int width, |
| + int height, |
| + uint32_t timestamp, |
| + int64_t render_time_ms, |
| + VideoRotation rotation); |
| +}; |
| class FakeNativeHandleBuffer : public NativeHandleBuffer { |
| public: |
| @@ -41,16 +49,6 @@ class FakeNativeHandleBuffer : public NativeHandleBuffer { |
| } |
| }; |
| -static VideoFrame CreateFakeNativeHandleFrame(FakeNativeHandle* native_handle, |
| - int width, |
| - int height, |
| - uint32_t timestamp, |
| - int64_t render_time_ms, |
| - VideoRotation rotation) { |
| - return VideoFrame(new rtc::RefCountedObject<FakeNativeHandleBuffer>( |
| - native_handle, width, height), |
| - timestamp, render_time_ms, rotation); |
| -} |
| } // namespace test |
| } // namespace webrtc |
| #endif // WEBRTC_TEST_FAKE_TEXTURE_FRAME_H_ |