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

Unified Diff: src/objects.cc

Issue 2818773002: Fix GCC builds after 204989a5a / r44650 (Closed)
Patch Set: Created 3 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 6265e05211b9bba0b50a536d315afb65ade32db8..f88857332f7dae8245a8c456bb715e81efdd1e80 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -17656,6 +17656,7 @@ class StringTableNoAllocateKey : public HashTableKey {
string->set_hash_field(hash_field);
} else {
special_flattening_ = false;
+ one_byte_content_ = nullptr;
}
hash_ = string->Hash();
}
@@ -17744,7 +17745,7 @@ class StringTableNoAllocateKey : public HashTableKey {
bool special_flattening_;
uint32_t hash_ = 0;
union {
- uint8_t* one_byte_content_ = nullptr;
+ uint8_t* one_byte_content_;
uint16_t* two_byte_content_;
};
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698