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

Unified Diff: Source/core/testing/Internals.cpp

Issue 16387015: Make unprefixed EME APIs use platform and Chromium. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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
Index: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index 86aaef69cbbe872b075f151b00970a1bff3601d1..bd26c5e707ec49a01b63e5409b24c790898d05bb 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -113,11 +113,6 @@
#include "core/platform/graphics/filters/FilterOperations.h"
#include "core/rendering/RenderLayerBacking.h"
-#if ENABLE(ENCRYPTED_MEDIA_V2)
-#include "core/testing/MockCDM.h"
-#include "modules/encryptedmedia/CDM.h"
-#endif
-
#include "core/platform/mock/PlatformSpeechSynthesizerMock.h"
#include "modules/speech/DOMWindowSpeechSynthesis.h"
#include "modules/speech/SpeechSynthesis.h"
@@ -1917,13 +1912,6 @@ void Internals::forceReload(bool endToEnd)
frame()->loader()->reload(endToEnd);
}
-#if ENABLE(ENCRYPTED_MEDIA_V2)
-void Internals::initializeMockCDM()
-{
- CDM::registerCDMFactory(MockCDM::create, MockCDM::supportsKeySytem);
-}
-#endif
-
String Internals::markerTextForListItem(Element* element, ExceptionCode& ec)
{
if (!element) {

Powered by Google App Engine
This is Rietveld 408576698