Index: third_party/WebKit/Source/web/ImageDecodeBench.cpp |
diff --git a/third_party/WebKit/Source/web/ImageDecodeBench.cpp b/third_party/WebKit/Source/web/ImageDecodeBench.cpp |
index 988f2e8f87c89077dc604a2db175ade5901016f3..41c3870b2027dcb0954da056d0b22fa7019ecb8d 100644 |
--- a/third_party/WebKit/Source/web/ImageDecodeBench.cpp |
+++ b/third_party/WebKit/Source/web/ImageDecodeBench.cpp |
@@ -25,6 +25,7 @@ http://crbug.com/398235#c103 and http://crbug.com/258324#c5 |
#include "platform/SharedBuffer.h" |
#include "platform/image-decoders/ImageDecoder.h" |
+#include "platform/testing/TestingPlatformSupport.h" |
#include "public/platform/Platform.h" |
#include "public/web/WebKit.h" |
#include "wtf/OwnPtr.h" |
@@ -360,18 +361,8 @@ int main(int argc, char* argv[]) |
// Create a web platform without V8. |
- class WebPlatform : public blink::Platform { |
+ class WebPlatform : public TestingPlatformSupport { |
public: |
- const unsigned char* getTraceCategoryEnabledFlag(const char*) override |
- { |
- return reinterpret_cast<const unsigned char *>("nope-none-nada"); |
- } |
- |
- void cryptographicallyRandomValues(unsigned char*, size_t) override |
- { |
- RELEASE_ASSERT_NOT_REACHED(); |
- } |
- |
void screenColorProfile(WebVector<char>* profile) override |
{ |
getScreenColorProfile(profile); // Returns a whacked color profile. |