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

Unified Diff: media/base/cdm_context.h

Issue 2788363002: Use enum hack to define kInvalidCdmId. (Closed)
Patch Set: Created 3 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 | « no previous file | media/base/cdm_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/cdm_context.h
diff --git a/media/base/cdm_context.h b/media/base/cdm_context.h
index 65c0bb7a6963100b7cf88a2c8c838b7172225d07..03771b787e43478619950611cc2c5c8444c61157 100644
--- a/media/base/cdm_context.h
+++ b/media/base/cdm_context.h
@@ -19,7 +19,7 @@ class Decryptor;
class MEDIA_EXPORT CdmContext {
public:
// Indicates an invalid CDM ID. See GetCdmId() for details.
- static const int kInvalidCdmId;
+ enum { kInvalidCdmId = 0 };
virtual ~CdmContext();
« no previous file with comments | « no previous file | media/base/cdm_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698