diff options
author | martijn@martijnc.be <martijn@martijnc.be@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2014-02-05 20:43:05 +0000 |
---|---|---|
committer | martijn@martijnc.be <martijn@martijnc.be@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2014-02-05 20:43:05 +0000 |
commit | ef2c53b9081e632282a90f749489bedbe28ab2d5 (patch) | |
tree | f0c0316bf99b9e7cf88bc4e6d7a2febfb9650ce0 /third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp | |
parent | 34a54464bd08131ef43c60047157be3a93367e8d (diff) | |
download | chromium_src-ef2c53b9081e632282a90f749489bedbe28ab2d5.zip chromium_src-ef2c53b9081e632282a90f749489bedbe28ab2d5.tar.gz chromium_src-ef2c53b9081e632282a90f749489bedbe28ab2d5.tar.bz2 |
Cleanup usage of String::append
Cleanup usage of String::append in some parts of the Blink source.
BUG=268281
Review URL: https://codereview.chromium.org/145033003
git-svn-id: svn://svn.chromium.org/blink/trunk@166539 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp')
-rw-r--r-- | third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp b/third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp index abd8f14..9904cbc 100644 --- a/third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp +++ b/third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp @@ -100,8 +100,7 @@ TEST(ImageResourceTest, CancelOnDetach) blink::WebURLResponse response; response.initialize(); response.setMIMEType("text/html"); - WTF::String localPath = blink::Platform::current()->unitTestSupport()->webKitRootDir(); - localPath.append("/Source/web/tests/data/cancelTest.html"); + WTF::String localPath = String(blink::Platform::current()->unitTestSupport()->webKitRootDir()) + "/Source/web/tests/data/cancelTest.html"; blink::Platform::current()->unitTestSupport()->registerMockedURL(testURL, response, localPath); // Create enough of a mocked world to get a functioning ResourceLoader. |