| Index: Source/core/editing/GranularityStrategyTest.cpp
|
| diff --git a/Source/core/editing/GranularityStrategyTest.cpp b/Source/core/editing/GranularityStrategyTest.cpp
|
| index 1cdaf711c8191a9eb36e7ba8a7aaa6e5175e4454..c2d21f74eea8f23019d2d1067509cb9b61a540a5 100644
|
| --- a/Source/core/editing/GranularityStrategyTest.cpp
|
| +++ b/Source/core/editing/GranularityStrategyTest.cpp
|
| @@ -22,9 +22,7 @@
|
| #include "wtf/testing/WTFTestHelpers.h"
|
| #include <gtest/gtest.h>
|
|
|
| -using namespace blink;
|
| -
|
| -namespace {
|
| +namespace blink {
|
|
|
| #define EXPECT_EQ_SELECTED_TEXT(text) \
|
| EXPECT_EQ(text, WebString(selection().selectedText()).utf8())
|
| @@ -40,7 +38,7 @@ IntPoint visiblePositionToContentsPoint(const VisiblePosition& pos)
|
|
|
| class GranularityStrategyTest : public ::testing::Test {
|
| protected:
|
| - virtual void SetUp() override;
|
| + void SetUp() override;
|
|
|
| DummyPageHolder& dummyPageHolder() const { return *m_dummyPageHolder; }
|
| HTMLDocument& document() const;
|
| @@ -660,4 +658,5 @@ TEST_F(GranularityStrategyTest, DirectionSwitchStartOnBoundary)
|
| selection().moveRangeSelectionExtent(m_wordMiddles[4]);
|
| EXPECT_EQ_SELECTED_TEXT("mnopqr iiin");
|
| }
|
| -}
|
| +
|
| +} // namespace blink
|
|
|