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

Unified Diff: third_party/WebKit/Source/core/fetch/Resource.h

Issue 2413983002: Do not use boolean bitfields in blink::Resource (Closed)
Patch Set: fix Created 4 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/Resource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/fetch/Resource.h
diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/core/fetch/Resource.h
index a8066ef6e97e8cb0c18a6bd1a3447aa9b2043f2c..f730c1d93cb988a956c09e73244f6a2a687a4cb4 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.h
+++ b/third_party/WebKit/Source/core/fetch/Resource.h
@@ -419,16 +419,15 @@ class CORE_EXPORT Resource : public GarbageCollectedFinalized<Resource>,
unsigned m_type : 4; // Type
unsigned m_status : 3; // Status
- unsigned m_needsSynchronousCacheHit : 1;
- unsigned m_linkPreload : 1;
- bool m_isRevalidating : 1;
- bool m_isAlive : 1;
+ bool m_needsSynchronousCacheHit;
+ bool m_linkPreload;
+ bool m_isRevalidating;
+ bool m_isAlive;
+ bool m_isAddRemoveClientProhibited;
ResourceIntegrityDisposition m_integrityDisposition;
IntegrityMetadataSet m_integrityMetadata;
- bool m_isAddRemoveClientProhibited;
-
// Ordered list of all redirects followed while fetching this resource.
Vector<RedirectPair> m_redirectChain;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698