Replace the remaining scoped_ptr with unique_ptr in webrtc/modules/
BUG=webrtc:5520 Review URL: https://codereview.webrtc.org/1921233002 Cr-Commit-Position: refs/heads/master@{#12511}
This commit is contained in:
@ -31,7 +31,7 @@ class MockProcessThread : public ProcessThread {
|
||||
// MOCK_METHOD1 gets confused with mocking this method, so we work around it
|
||||
// by overriding the method from the interface and forwarding the call to a
|
||||
// mocked, simpler method.
|
||||
void PostTask(rtc::scoped_ptr<ProcessTask> task) override {
|
||||
void PostTask(std::unique_ptr<ProcessTask> task) override {
|
||||
PostTask(task.get());
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user