| Index: content/shell/browser/layout_test/layout_test_browser_context.cc
|
| diff --git a/content/shell/browser/layout_test/layout_test_browser_context.cc b/content/shell/browser/layout_test/layout_test_browser_context.cc
|
| index e5adfbfba5968088cab3f767ce63dff18d45d5b4..b1ec40fed851e0d9a0c379e6ec6b5bcb7af2f189 100644
|
| --- a/content/shell/browser/layout_test/layout_test_browser_context.cc
|
| +++ b/content/shell/browser/layout_test/layout_test_browser_context.cc
|
| @@ -67,7 +67,8 @@ class MojomProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler {
|
|
|
| prefix = prefix.AppendASCII("gen");
|
|
|
| - base::FilePath path = prefix.AppendASCII(url.path().substr(2) + ".js");
|
| + base::FilePath path =
|
| + prefix.AppendASCII(url.path().substr(2).as_string() + ".js");
|
| if (path.ReferencesParent())
|
| return nullptr;
|
|
|
|
|