Index: src/global-handles.cc |
diff --git a/src/global-handles.cc b/src/global-handles.cc |
index 6377af6e6c39e5437307286f95357b1ba3961323..51e904e8a8df8a46b1b8502b63344a1901f05f81 100644 |
--- a/src/global-handles.cc |
+++ b/src/global-handles.cc |
@@ -60,8 +60,8 @@ class GlobalHandles::Node { |
} |
Node() { |
- STATIC_ASSERT(offsetof(Node, class_id_) == Internals::kNodeClassIdOffset); |
- STATIC_ASSERT(offsetof(Node, flags_) == Internals::kNodeFlagsOffset); |
+ ASSERT(OFFSET_OF(Node, class_id_) == Internals::kNodeClassIdOffset); |
+ ASSERT(OFFSET_OF(Node, flags_) == Internals::kNodeFlagsOffset); |
STATIC_ASSERT(static_cast<int>(NodeState::kMask) == |
Internals::kNodeStateMask); |
STATIC_ASSERT(WEAK == Internals::kNodeStateIsWeakValue); |