| Index: Source/core/layout/TextRunConstructor.cpp
|
| diff --git a/Source/core/layout/TextRunConstructor.cpp b/Source/core/layout/TextRunConstructor.cpp
|
| index 47439797096005ab414143748706f43ef88b8f68..0dc8914bb2175d614df72a649bd1ce14fcb648bb 100644
|
| --- a/Source/core/layout/TextRunConstructor.cpp
|
| +++ b/Source/core/layout/TextRunConstructor.cpp
|
| @@ -95,7 +95,7 @@ TextRun constructTextRun(LayoutObject* context, const Font& font, const String&
|
| {
|
| unsigned length = string.length();
|
| if (!length)
|
| - return constructTextRunInternal(context, font, static_cast<const LChar*>(0), length, style, direction, flags);
|
| + return constructTextRunInternal(context, font, static_cast<const LChar*>(nullptr), length, style, direction, flags);
|
| if (string.is8Bit())
|
| return constructTextRunInternal(context, font, string.characters8(), length, style, direction, flags);
|
| return constructTextRunInternal(context, font, string.characters16(), length, style, direction, flags);
|
|
|