Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: third_party/WebKit/Source/platform/weborigin/ReferrerPolicy.h

Issue 2920663002: Class/struct layout optimization for blink Resource related classes (Closed)
Patch Set: Rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/weborigin/ReferrerPolicy.h
diff --git a/third_party/WebKit/Source/platform/weborigin/ReferrerPolicy.h b/third_party/WebKit/Source/platform/weborigin/ReferrerPolicy.h
index af3139088639896d69240be50967d9dba8226e23..fff1a6f694bd84e64f79740a0606f8d8bec54076 100644
--- a/third_party/WebKit/Source/platform/weborigin/ReferrerPolicy.h
+++ b/third_party/WebKit/Source/platform/weborigin/ReferrerPolicy.h
@@ -34,7 +34,7 @@
namespace blink {
-enum ReferrerPolicy {
+enum ReferrerPolicy : uint8_t {
// https://w3c.github.io/webappsec/specs/referrer-policy/#referrer-policy-state-unsafe-url
kReferrerPolicyAlways,
// The default policy, if no policy is explicitly set by the page.

Powered by Google App Engine
This is Rietveld 408576698