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

Unified Diff: third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.cc

Issue 2921463004: [LayoutNG] PODify NGLayoutInputNode and sub-classes. (Closed)
Patch Set: new ng-bot expectations Created 3 years, 6 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
Index: third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.cc b/third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.cc
index 0e8f6b40510260be819c4884c216fd93de9b277a..668b7493517b057ecdc83c9de6bf0fa3e165d7fe 100644
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.cc
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.cc
@@ -11,7 +11,7 @@
namespace blink {
-NGTextFragmentBuilder::NGTextFragmentBuilder(NGInlineNode* node)
+NGTextFragmentBuilder::NGTextFragmentBuilder(NGInlineNode node)
: direction_(TextDirection::kLtr), node_(node) {}
NGTextFragmentBuilder& NGTextFragmentBuilder::SetDirection(
@@ -35,9 +35,9 @@ RefPtr<NGPhysicalTextFragment> NGTextFragmentBuilder::ToTextFragment(
unsigned start_offset,
unsigned end_offset) {
NGWritingMode writing_mode(
- FromPlatformWritingMode(node_->Style().GetWritingMode()));
+ FromPlatformWritingMode(node_.Style().GetWritingMode()));
return AdoptRef(new NGPhysicalTextFragment(
- node_->GetLayoutObject(), node_, index, start_offset, end_offset,
+ node_.GetLayoutObject(), node_, index, start_offset, end_offset,
size_.ConvertToPhysical(writing_mode)));
}

Powered by Google App Engine
This is Rietveld 408576698