| Index: third_party/WebKit/Source/core/editing/EditingTestBase.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/EditingTestBase.cpp b/third_party/WebKit/Source/core/editing/EditingTestBase.cpp
|
| index 13afe5080e5fcab480aca9ed6d899afa14cd85e3..1c14a7a0ff6985067ddc595f3ed4438e9e884b4c 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingTestBase.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingTestBase.cpp
|
| @@ -38,9 +38,9 @@ PassRefPtrWillBeRawPtr<ShadowRoot> EditingTestBase::createShadowRootForElementWi
|
| return shadowRoot.release();
|
| }
|
|
|
| -void EditingTestBase::setBodyContent(const char* bodyContent)
|
| +void EditingTestBase::setBodyContent(const std::string& bodyContent)
|
| {
|
| - document().body()->setInnerHTML(String::fromUTF8(bodyContent), ASSERT_NO_EXCEPTION);
|
| + document().body()->setInnerHTML(String::fromUTF8(bodyContent.c_str()), ASSERT_NO_EXCEPTION);
|
| }
|
|
|
| PassRefPtrWillBeRawPtr<ShadowRoot> EditingTestBase::setShadowContent(const char* shadowContent, const char* host)
|
|
|