Index: third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h |
index 81ec470f2e14b08e0c6847b60fc5fa1dc4d00742..dbf8786f107923c5fbee8b112f71f5405c539268 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h |
@@ -54,10 +54,8 @@ class CORE_EXPORT NGPhysicalFragment : public RefCounted<NGPhysicalFragment> { |
// Returns the border-box size. |
NGPhysicalSize Size() const { return size_; } |
- // Bitmask for border edges, see NGPaintBorderEdge. |
- NGBorderEdges::Physical BorderEdges() const { |
- return static_cast<NGBorderEdges::Physical>(border_edge_); |
- } |
+ // Bitmask for border edges, see NGBorderEdges::Physical. |
+ unsigned BorderEdges() const { return border_edge_; } |
NGPixelSnappedPhysicalBoxStrut BorderWidths() const; |
// Returns the offset relative to the parent fragment's content-box. |
@@ -104,7 +102,7 @@ class CORE_EXPORT NGPhysicalFragment : public RefCounted<NGPhysicalFragment> { |
unsigned type_ : 2; // NGFragmentType |
unsigned is_placed_ : 1; |
- unsigned border_edge_ : 4; // NGPhysicalBorderEdges |
+ unsigned border_edge_ : 4; // NGBorderEdges::Physical |
private: |
void Destroy() const; |