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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/IntegrityMetadata.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/loader/fetch/IntegrityMetadata.h
diff --git a/third_party/WebKit/Source/platform/loader/fetch/IntegrityMetadata.h b/third_party/WebKit/Source/platform/loader/fetch/IntegrityMetadata.h
index 59841e79ac9c20e2d477fe2a69450680245ba2cc..900a3d980dd88cf513c3771bbceda27cf130eaa6 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/IntegrityMetadata.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/IntegrityMetadata.h
@@ -40,7 +40,11 @@ class PLATFORM_EXPORT IntegrityMetadata {
HashAlgorithm algorithm_;
};
-enum class ResourceIntegrityDisposition { kNotChecked = 0, kFailed, kPassed };
+enum class ResourceIntegrityDisposition : uint8_t {
+ kNotChecked = 0,
+ kFailed,
+ kPassed
+};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698