| Index: Source/core/editing/iterators/TextIteratorTest.cpp
|
| diff --git a/Source/core/editing/iterators/TextIteratorTest.cpp b/Source/core/editing/iterators/TextIteratorTest.cpp
|
| index 09cac58f3001eeb7f7aa734a7d79aa740c1981ed..a91da6483b17970e3f43667b439e5c5df79355b2 100644
|
| --- a/Source/core/editing/iterators/TextIteratorTest.cpp
|
| +++ b/Source/core/editing/iterators/TextIteratorTest.cpp
|
| @@ -51,9 +51,7 @@
|
| #include <gtest/gtest.h>
|
| #include <string>
|
|
|
| -using namespace blink;
|
| -
|
| -namespace {
|
| +namespace blink {
|
|
|
| struct DOMTree : NodeTraversal {
|
| using PositionType = Position;
|
| @@ -67,7 +65,7 @@ struct ComposedTree : ComposedTreeTraversal {
|
|
|
| class TextIteratorTest : public ::testing::Test {
|
| protected:
|
| - virtual void SetUp() override;
|
| + void SetUp() override;
|
|
|
| HTMLDocument& document() const { return *m_document; }
|
|
|
| @@ -139,7 +137,7 @@ PassRefPtrWillBeRawPtr<Range> TextIteratorTest::getBodyRange() const
|
| return range.release();
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRootForElementWithIDAndSetInnerHTML(TreeScope& scope, const char* hostElementID, const char* shadowRootContent)
|
| +static PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRootForElementWithIDAndSetInnerHTML(TreeScope& scope, const char* hostElementID, const char* shadowRootContent)
|
| {
|
| RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = scope.getElementById(AtomicString::fromUTF8(hostElementID))->createShadowRoot(ASSERT_NO_EXCEPTION);
|
| shadowRoot->setInnerHTML(String::fromUTF8(shadowRootContent), ASSERT_NO_EXCEPTION);
|
| @@ -484,4 +482,4 @@ TEST_F(TextIteratorTest, SubrangeWithReplacedElements)
|
| EXPECT_EQ(3, subrange->endOffset());
|
| }
|
|
|
| -}
|
| +} // namespace blink
|
|
|