Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: testing/libfuzzer/fuzzers/es_parser_mpeg1audio_fuzzer.cc

Issue 1855823002: convert //testing to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « testing/libfuzzer/fuzzers/courgette_fuzzer.cc ('k') | testing/libfuzzer/fuzzers/mp4_box_reader_fuzzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/libfuzzer/fuzzers/es_parser_mpeg1audio_fuzzer.cc
diff --git a/testing/libfuzzer/fuzzers/es_parser_mpeg1audio_fuzzer.cc b/testing/libfuzzer/fuzzers/es_parser_mpeg1audio_fuzzer.cc
index 1e84f6bf1e0422b45a56294162dbd524bf57c286..bcb45afe70906994d1c39a7089a3d018e3a4a6b6 100644
--- a/testing/libfuzzer/fuzzers/es_parser_mpeg1audio_fuzzer.cc
+++ b/testing/libfuzzer/fuzzers/es_parser_mpeg1audio_fuzzer.cc
@@ -5,6 +5,8 @@
#include <stddef.h>
#include <stdint.h>
+#include <memory>
+
#include "base/bind.h"
#include "media/formats/mp2t/es_parser_mpeg1audio.h"
@@ -13,7 +15,7 @@ class NullMediaLog : public media::MediaLog {
NullMediaLog() {}
void DoAddEventLogString(const std::string& event) {}
- void AddEvent(scoped_ptr<media::MediaLogEvent> event) override {}
+ void AddEvent(std::unique_ptr<media::MediaLogEvent> event) override {}
protected:
virtual ~NullMediaLog() {}
« no previous file with comments | « testing/libfuzzer/fuzzers/courgette_fuzzer.cc ('k') | testing/libfuzzer/fuzzers/mp4_box_reader_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698