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

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

Issue 2272313004: [layoutng] Rename struct members to match style guide (Closed)
Patch Set: Created 4 years, 4 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/ng_fragment_base.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.cc b/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.cc
index 7d3c337b908af1e4c78f58b4fbe8150cec000016..f462405271dd3c5fe3fac4c2188923caaef6845f 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.cc
@@ -24,8 +24,8 @@ void NGFragmentBase::SetOffset(LayoutUnit inline_offset,
LayoutUnit block_offset) {
// setOffset should only be called once.
DCHECK(!has_been_placed_);
- offset_.inlineOffset = inline_offset;
- offset_.blockOffset = block_offset;
+ offset_.inline_offset = inline_offset;
+ offset_.block_offset = block_offset;
has_been_placed_ = true;
}

Powered by Google App Engine
This is Rietveld 408576698