| Index: third_party/WebKit/Source/platform/network/HTTPParsers.cpp
|
| diff --git a/third_party/WebKit/Source/platform/network/HTTPParsers.cpp b/third_party/WebKit/Source/platform/network/HTTPParsers.cpp
|
| index 456db9c35bb382ad0bd598edd816cd371a786100..3ca4b69350a71ee5876be1be4d016cd8d47081de 100644
|
| --- a/third_party/WebKit/Source/platform/network/HTTPParsers.cpp
|
| +++ b/third_party/WebKit/Source/platform/network/HTTPParsers.cpp
|
| @@ -703,13 +703,11 @@ CacheControlHeader parseCacheControlDirectives(
|
| cacheControlHeader.staleWhileRevalidate =
|
| std::numeric_limits<double>::quiet_NaN();
|
|
|
| - DEFINE_STATIC_LOCAL(const AtomicString, noCacheDirective, ("no-cache"));
|
| - DEFINE_STATIC_LOCAL(const AtomicString, noStoreDirective, ("no-store"));
|
| - DEFINE_STATIC_LOCAL(const AtomicString, mustRevalidateDirective,
|
| - ("must-revalidate"));
|
| - DEFINE_STATIC_LOCAL(const AtomicString, maxAgeDirective, ("max-age"));
|
| - DEFINE_STATIC_LOCAL(const AtomicString, staleWhileRevalidateDirective,
|
| - ("stale-while-revalidate"));
|
| + static const char noCacheDirective[] = "no-cache";
|
| + static const char noStoreDirective[] = "no-store";
|
| + static const char mustRevalidateDirective[] = "must-revalidate";
|
| + static const char maxAgeDirective[] = "max-age";
|
| + static const char staleWhileRevalidateDirective[] = "stale-while-revalidate";
|
|
|
| if (!cacheControlValue.isEmpty()) {
|
| Vector<std::pair<String, String>> directives;
|
|
|