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

Unified Diff: media/gpu/vaapi_picture.cc

Issue 2911113003: Replace deprecated base::NonThreadSafe in media/gpu in favor of SequenceChecker. (Closed)
Patch Set: Created 3 years, 7 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 | « media/gpu/vaapi_picture.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/vaapi_picture.cc
diff --git a/media/gpu/vaapi_picture.cc b/media/gpu/vaapi_picture.cc
index 921a4249d19cbe855959a2b534a92167cc53d055..3d678ef3bf2e3a8a35195fd697b1411c5800dfc7 100644
--- a/media/gpu/vaapi_picture.cc
+++ b/media/gpu/vaapi_picture.cc
@@ -31,7 +31,9 @@ VaapiPicture::VaapiPicture(
client_texture_id_(client_texture_id),
picture_buffer_id_(picture_buffer_id) {}
-VaapiPicture::~VaapiPicture() {}
+VaapiPicture::~VaapiPicture() {
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
+}
// static
linked_ptr<VaapiPicture> VaapiPicture::CreatePicture(
« no previous file with comments | « media/gpu/vaapi_picture.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698