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 41c3870b2027dcb0954da056d0b22fa7019ecb8d..988f2e8f87c89077dc604a2db175ade5901016f3 100644 |
--- a/third_party/WebKit/Source/web/ImageDecodeBench.cpp |
+++ b/third_party/WebKit/Source/web/ImageDecodeBench.cpp |
@@ -25,7 +25,6 @@ |
#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" |
@@ -361,8 +360,18 @@ |
// Create a web platform without V8. |
- class WebPlatform : public TestingPlatformSupport { |
+ class WebPlatform : public blink::Platform { |
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. |