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

Unified Diff: Source/core/html/MediaError.h

Issue 15178010: Remove ENABLE_ENCRYPTED_MEDIA #define as it's always enabled (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | « Source/core/html/HTMLMediaElement.idl ('k') | Source/core/html/MediaError.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/MediaError.h
diff --git a/Source/core/html/MediaError.h b/Source/core/html/MediaError.h
index 63ed525d16abc5c1ffd2f99905edd830dff4b669..31789bad31de72eaa5d8e83eb76bb7c925e35dca 100644
--- a/Source/core/html/MediaError.h
+++ b/Source/core/html/MediaError.h
@@ -37,10 +37,8 @@ public:
MEDIA_ERR_ABORTED = 1,
MEDIA_ERR_NETWORK,
MEDIA_ERR_DECODE,
- MEDIA_ERR_SRC_NOT_SUPPORTED
-#if ENABLE(ENCRYPTED_MEDIA) || ENABLE(ENCRYPTED_MEDIA_V2)
- , MEDIA_ERR_ENCRYPTED
-#endif
+ MEDIA_ERR_SRC_NOT_SUPPORTED,
+ MEDIA_ERR_ENCRYPTED
};
static PassRefPtr<MediaError> create(Code code) { return adoptRef(new MediaError(code)); }
« no previous file with comments | « Source/core/html/HTMLMediaElement.idl ('k') | Source/core/html/MediaError.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698