Index: third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp |
diff --git a/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp b/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp |
index 438ebbfced6fda0aebe8d7233695c8fcb7aa4061..12bc6d2c8a3967693d5fd7ab3d4171ad93acdb00 100644 |
--- a/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp |
+++ b/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp |
@@ -48,6 +48,7 @@ |
#include "web/WebLocalFrameImpl.h" |
#include "web/WebRemoteFrameImpl.h" |
#include "wtf/Functional.h" |
+#include "wtf/PtrUtil.h" |
#include "wtf/StdLibExtras.h" |
#include "wtf/text/StringBuilder.h" |
@@ -306,7 +307,7 @@ void TestWebRemoteFrameClient::frameDetached(DetachType type) |
void TestWebViewClient::initializeLayerTreeView() |
{ |
- m_layerTreeView = adoptPtr(new WebLayerTreeViewImplForTesting); |
+ m_layerTreeView = wrapUnique(new WebLayerTreeViewImplForTesting); |
} |
} // namespace FrameTestHelpers |