Index: media/base/browser_cdm.cc |
diff --git a/media/base/browser_cdm.cc b/media/base/browser_cdm.cc |
index 2c44e1652ad09cf59125a471c051a86609347325..45a2ea2daa19785821659b0a43214aa353200013 100644 |
--- a/media/base/browser_cdm.cc |
+++ b/media/base/browser_cdm.cc |
@@ -12,4 +12,9 @@ BrowserCdm::BrowserCdm() { |
BrowserCdm::~BrowserCdm() { |
} |
+// For most subclasses we can delete on the caller thread. |
+void BrowserCdm::DeleteOnCorrectThread() { |
+ delete this; |
+} |
+ |
} // namespace media |