Replaced NULL with nullptr in Android CDM.
[ Merge of http://go/wvgerrit/85503 ] Replacing a few instances of C's NULL with C++'s nullptr in some of the smaller sub-directories in the CDM. Note that clang-format has performed additional changes to some of the test files that have not yet been formatted. Bug: 120602075 Test: Android unittest Change-Id: I926135ed4b85e9d2d58a014b4a62098b0cb7a373
This commit is contained in:
@@ -179,8 +179,8 @@ class WvContentDecryptionModule : public android::RefBase, public TimerHandler {
|
||||
// Finds the CdmEngine instance for the given identifier, creating one if
|
||||
// needed.
|
||||
CdmEngine* EnsureCdmForIdentifier(const CdmIdentifier& identifier);
|
||||
// Finds the CdmEngine instance for the given session id, returning NULL if
|
||||
// not found.
|
||||
// Finds the CdmEngine instance for the given session id, returning nullptr
|
||||
// if not found.
|
||||
CdmEngine* GetCdmForSessionId(const std::string& session_id);
|
||||
|
||||
// Close all of the open CdmEngine instances. This is used when ready to close
|
||||
|
||||
Reference in New Issue
Block a user