Commit a225ea97 authored by jbroman@chromium.org's avatar jbroman@chromium.org

Remove testing::CloneToPassOwnPtr; it is unused.

Review URL: https://codereview.chromium.org/1310453004

git-svn-id: svn://svn.chromium.org/blink/trunk@201064 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent d3e7339e
...@@ -61,7 +61,6 @@ ...@@ -61,7 +61,6 @@
namespace blink { namespace blink {
using ::testing::CloneToPassOwnPtr;
using ::testing::ExpectationSet; using ::testing::ExpectationSet;
using ::testing::Ref; using ::testing::Ref;
using ::testing::Return; using ::testing::Return;
......
...@@ -35,18 +35,6 @@ ...@@ -35,18 +35,6 @@
#include <gmock/gmock.h> #include <gmock/gmock.h>
#include <gtest/gtest.h> #include <gtest/gtest.h>
namespace testing {
template<typename T>
PassOwnPtr<T> CloneToPassOwnPtr(T& o)
{
return adoptPtr(new T(o));
}
} // namespace testing
// Test helpers and mocks for Web* types // Test helpers and mocks for Web* types
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
namespace blink { namespace blink {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment