Index: third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h b/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h |
index 001447d6e6d91cb953f9e4f934d241c53a8d66be..b5904ba935f01e4e9a3c835710ec028c42bfe10d 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h |
@@ -8,12 +8,12 @@ |
#include "core/CoreExport.h" |
#include "core/layout/ng/ng_block_node.h" |
#include "core/layout/ng/ng_inline_node.h" |
-#include "core/layout/ng/ng_physical_fragment_base.h" |
+#include "core/layout/ng/ng_physical_fragment.h" |
#include "platform/heap/Handle.h" |
namespace blink { |
-class CORE_EXPORT NGPhysicalTextFragment final : public NGPhysicalFragmentBase { |
+class CORE_EXPORT NGPhysicalTextFragment final : public NGPhysicalFragment { |
public: |
NGPhysicalTextFragment( |
const NGInlineNode* node, |
@@ -23,18 +23,18 @@ class CORE_EXPORT NGPhysicalTextFragment final : public NGPhysicalFragmentBase { |
NGPhysicalSize overflow, |
HeapLinkedHashSet<WeakMember<NGBlockNode>>& out_of_flow_descendants, |
Vector<NGStaticPosition> out_of_flow_positions) |
- : NGPhysicalFragmentBase(size, |
- overflow, |
- kFragmentText, |
- out_of_flow_descendants, |
- out_of_flow_positions), |
+ : NGPhysicalFragment(size, |
+ overflow, |
+ kFragmentText, |
+ out_of_flow_descendants, |
+ out_of_flow_positions), |
node_(node), |
start_index_(start_index), |
end_index_(end_index) {} |
DEFINE_INLINE_TRACE_AFTER_DISPATCH() { |
visitor->trace(node_); |
- NGPhysicalFragmentBase::traceAfterDispatch(visitor); |
+ NGPhysicalFragment::traceAfterDispatch(visitor); |
} |
const NGInlineNode* Node() const { return node_; } |
@@ -54,10 +54,10 @@ class CORE_EXPORT NGPhysicalTextFragment final : public NGPhysicalFragmentBase { |
}; |
DEFINE_TYPE_CASTS(NGPhysicalTextFragment, |
- NGPhysicalFragmentBase, |
+ NGPhysicalFragment, |
text, |
- text->Type() == NGPhysicalFragmentBase::kFragmentText, |
- text.Type() == NGPhysicalFragmentBase::kFragmentText); |
+ text->Type() == NGPhysicalFragment::kFragmentText, |
+ text.Type() == NGPhysicalFragment::kFragmentText); |
} // namespace blink |