| Index: third_party/WebKit/Source/platform/text/StringTruncator.h
|
| diff --git a/third_party/WebKit/Source/platform/text/StringTruncator.h b/third_party/WebKit/Source/platform/text/StringTruncator.h
|
| index 5be0cc48c49c5edd9432d52687ce990051c8ff14..8dfaa9ea4c4e4880b1bbfc89a55183445891b9ab 100644
|
| --- a/third_party/WebKit/Source/platform/text/StringTruncator.h
|
| +++ b/third_party/WebKit/Source/platform/text/StringTruncator.h
|
| @@ -30,6 +30,7 @@
|
| #define StringTruncator_h
|
|
|
| #include "platform/PlatformExport.h"
|
| +#include "wtf/Allocator.h"
|
| #include "wtf/Forward.h"
|
|
|
| namespace blink {
|
| @@ -37,6 +38,7 @@ namespace blink {
|
| class Font;
|
|
|
| class PLATFORM_EXPORT StringTruncator {
|
| + STATIC_ONLY(StringTruncator);
|
| public:
|
| static String centerTruncate(const String&, float maxWidth, const Font&);
|
| static String rightTruncate(const String&, float maxWidth, const Font&);
|
|
|