| Index: Source/platform/text/BidiResolverTest.cpp
|
| diff --git a/Source/platform/text/BidiResolverTest.cpp b/Source/platform/text/BidiResolverTest.cpp
|
| index a3d3a92239fc0bebe486235549fff2c7ecd14aa0..ca0474bf0a941a70118adad6fb67c71f6066e536 100644
|
| --- a/Source/platform/text/BidiResolverTest.cpp
|
| +++ b/Source/platform/text/BidiResolverTest.cpp
|
| @@ -191,8 +191,8 @@ void BidiTestRunner::runTest(const std::basic_string<UChar>& input, const std::v
|
| resolver.setStatus(BidiStatus(textRun.direction(), textRun.directionalOverride()));
|
| resolver.setPositionIgnoringNestedIsolates(TextRunIterator(&textRun, 0));
|
|
|
| - BidiRunList<BidiCharacterRun> runs;
|
| - resolver.createBidiRunsForLine(TextRunIterator(&textRun, textRun.length()), runs);
|
| + BidiRunList<BidiCharacterRun>& runs = resolver.runs();
|
| + resolver.createBidiRunsForLine(TextRunIterator(&textRun, textRun.length()));
|
|
|
| std::ostringstream errorContext;
|
| errorContext << ", line " << lineNumber << " \"" << line << "\"";
|
| @@ -240,6 +240,7 @@ void BidiTestRunner::runTest(const std::basic_string<UChar>& input, const std::v
|
| break;
|
| }
|
| }
|
| + runs.deleteRuns();
|
| }
|
|
|
|
|
|
|