Index: Source/web/tests/FrameTestHelpers.h |
diff --git a/Source/web/tests/FrameTestHelpers.h b/Source/web/tests/FrameTestHelpers.h |
index 6800cf78faca681a30bbc927e60d5c98ff977b4e..d8fc8cb1a0d75aae3ec5e94147bfaa53b1986137 100644 |
--- a/Source/web/tests/FrameTestHelpers.h |
+++ b/Source/web/tests/FrameTestHelpers.h |
@@ -40,6 +40,7 @@ |
#include "public/web/WebRemoteFrameClient.h" |
#include "public/web/WebViewClient.h" |
#include "web/WebViewImpl.h" |
+#include "wtf/Allocator.h" |
#include "wtf/PassOwnPtr.h" |
#include <gmock/gmock.h> |
#include <gtest/gtest.h> |
@@ -74,6 +75,7 @@ public: |
// Convenience class for handling the lifetime of a WebView and its associated mainframe in tests. |
class WebViewHelper { |
+ DISALLOW_ALLOCATION(); |
WTF_MAKE_NONCOPYABLE(WebViewHelper); |
public: |
WebViewHelper(SettingOverrider* = 0); |
@@ -101,6 +103,7 @@ private: |
// Minimal implementation of WebFrameClient needed for unit tests that load frames. Tests that load |
// frames and need further specialization of WebFrameClient behavior should subclass this. |
class TestWebFrameClient : public WebFrameClient { |
+ WTF_MAKE_FAST_ALLOCATED(TestWebFrameClient); |
public: |
TestWebFrameClient(); |
@@ -119,6 +122,7 @@ private: |
// Minimal implementation of WebRemoteFrameClient needed for unit tests that load remote frames. Tests that load |
// frames and need further specialization of WebFrameClient behavior should subclass this. |
class TestWebRemoteFrameClient : public WebRemoteFrameClient { |
+ DISALLOW_ALLOCATION(); |
public: |
TestWebRemoteFrameClient(); |
@@ -137,6 +141,7 @@ private: |
}; |
class TestWebViewClient : public WebViewClient { |
+ WTF_MAKE_FAST_ALLOCATED(TestWebViewClient); |
public: |
virtual ~TestWebViewClient() { } |
void initializeLayerTreeView() override; |
@@ -147,6 +152,7 @@ private: |
}; |
class UseMockScrollbarSettings { |
+ DISALLOW_ALLOCATION(); |
public: |
UseMockScrollbarSettings() |
{ |