| Index: Source/core/editing/StyledMarkupSerializerTest.cpp
|
| diff --git a/Source/core/editing/StyledMarkupSerializerTest.cpp b/Source/core/editing/StyledMarkupSerializerTest.cpp
|
| index 7233fe163c2db2a29309f96fba294a64f03aaed7..916593c8f9bde3506bf7b652dd532ce3d6a4e365 100644
|
| --- a/Source/core/editing/StyledMarkupSerializerTest.cpp
|
| +++ b/Source/core/editing/StyledMarkupSerializerTest.cpp
|
| @@ -32,7 +32,7 @@ namespace blink {
|
| // in layout tests.
|
| class StyledMarkupSerializerTest : public ::testing::Test {
|
| protected:
|
| - virtual void SetUp() override;
|
| + void SetUp() override;
|
|
|
| HTMLDocument& document() const { return *m_document; }
|
|
|
| @@ -63,7 +63,7 @@ std::string StyledMarkupSerializerTest::serialize()
|
| return CreateMarkupAlgorithm<Tree>::createMarkup(start, end).utf8().data();
|
| }
|
|
|
| -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);
|
| @@ -179,4 +179,4 @@ TEST_F(StyledMarkupSerializerTest, StyleDisplayNone)
|
| EXPECT_EQ(expectedResult, serialize<EditingStrategy>());
|
| }
|
|
|
| -} // namespace
|
| +} // namespace blink
|
|
|