Index: Tools/DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp |
diff --git a/Tools/DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp b/Tools/DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp |
index 5f34563c965debc6146c6500ddb18a3792849f86..18cea204fea45e8a6a0ff12eeca598fbdd3036dd 100644 |
--- a/Tools/DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp |
+++ b/Tools/DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp |
@@ -31,6 +31,7 @@ |
#include "public/testing/WebTestInterfaces.h" |
#include "MockWebAudioDevice.h" |
+#include "MockWebCrypto.h" |
#include "MockWebMIDIAccessor.h" |
#include "MockWebMediaStreamCenter.h" |
#include "MockWebRTCPeerConnectionHandler.h" |
@@ -115,4 +116,9 @@ WebAudioDevice* WebTestInterfaces::createAudioDevice(double sampleRate) |
return new MockWebAudioDevice(sampleRate); |
} |
+WebCrypto* WebTestInterfaces::crypto() |
+{ |
+ return MockWebCrypto::get(); |
+} |
+ |
} |