Index: Source/core/fetch/ResourceTest.cpp |
diff --git a/Source/core/fetch/ResourceTest.cpp b/Source/core/fetch/ResourceTest.cpp |
index 84372390630c7d93e5190c63f14ce7ba93f2f7f6..6ad9f3c6921c7ab1b13bffe14e63ff3a902283fa 100644 |
--- a/Source/core/fetch/ResourceTest.cpp |
+++ b/Source/core/fetch/ResourceTest.cpp |
@@ -27,10 +27,6 @@ public: |
{ |
m_cachedURLs.append(url); |
} |
- void cryptographicallyRandomValues(unsigned char* buffer, size_t length) override |
- { |
- ASSERT_NOT_REACHED(); |
- } |
const Vector<WebURL>& cachedURLs() const |
{ |
@@ -42,6 +38,18 @@ public: |
return m_oldPlatform->currentThread(); |
} |
+ // These blink::Platform methods must be overriden to make a usable object. |
+ void cryptographicallyRandomValues(unsigned char* buffer, size_t length) override |
+ { |
+ ASSERT_NOT_REACHED(); |
+ } |
+ |
+ const unsigned char* getTraceCategoryEnabledFlag(const char* categoryName) override |
+ { |
+ static const unsigned char tracingIsDisabled = 0; |
+ return &tracingIsDisabled; |
+ } |
+ |
private: |
Platform* m_oldPlatform; // Not owned. |
Vector<WebURL> m_cachedURLs; |