| Index: third_party/WebKit/Source/platform/ColorData.gperf
|
| diff --git a/third_party/WebKit/Source/platform/ColorData.gperf b/third_party/WebKit/Source/platform/ColorData.gperf
|
| index 6bbfb4b24e9a38c24b8db3d783b6389fe26e1f25..1d169b38b9c338cca9b691c09694c6a2238aa85a 100644
|
| --- a/third_party/WebKit/Source/platform/ColorData.gperf
|
| +++ b/third_party/WebKit/Source/platform/ColorData.gperf
|
| @@ -3,13 +3,6 @@
|
| #include <string.h>
|
|
|
| namespace blink {
|
| -
|
| -#if defined(__clang__)
|
| -#pragma clang diagnostic push
|
| -// TODO(thakis): Remove once we use a gperf that no longer produces "register".
|
| -#pragma clang diagnostic ignored "-Wdeprecated-register"
|
| -#endif
|
| -
|
| %}
|
| %struct-type
|
| struct NamedColor;
|
| @@ -175,13 +168,9 @@
|
| yellow, 0xffffff00
|
| yellowgreen, 0xff9acd32
|
| %%
|
| -
|
| -#if defined(__clang__)
|
| -#pragma clang diagnostic pop
|
| -#endif
|
| -
|
| -const struct NamedColor* findColor(const char* str, unsigned len) {
|
| - return ColorDataHash::findColorImpl(str, len);
|
| +const struct NamedColor* findColor(register const char* str, register unsigned len)
|
| +{
|
| + return ColorDataHash::findColorImpl(str, len);
|
| }
|
|
|
| } // namespace blink
|
|
|