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

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

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.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h b/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h
index 4cd816c3aa8fd2816d6cf5294d983bd24e2aec04..ce1faa19e22068e2032330bd559ce4a1b004a24b 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h
@@ -24,16 +24,16 @@ class CORE_EXPORT NGFragmentBase : public GarbageCollected<NGFragmentBase> {
NGDirection Direction() const { return static_cast<NGDirection>(direction_); }
// Returns the border-box size.
- LayoutUnit InlineSize() const { return size_.inlineSize; }
- LayoutUnit BlockSize() const { return size_.blockSize; }
+ LayoutUnit InlineSize() const { return size_.inline_size; }
+ LayoutUnit BlockSize() const { return size_.block_size; }
// Returns the total size, including the contents outside of the border-box.
- LayoutUnit InlineOverflow() const { return overflow_.inlineSize; }
- LayoutUnit BlockOverflow() const { return overflow_.blockSize; }
+ LayoutUnit InlineOverflow() const { return overflow_.inline_size; }
+ LayoutUnit BlockOverflow() const { return overflow_.block_size; }
// Returns the offset relative to the parent fragement's content-box.
- LayoutUnit InlineOffset() const { return offset_.inlineOffset; }
- LayoutUnit BlockOffset() const { return offset_.blockOffset; }
+ LayoutUnit InlineOffset() const { return offset_.inline_offset; }
+ LayoutUnit BlockOffset() const { return offset_.block_offset; }
// Should only be used by the parent fragement's layout.
void SetOffset(LayoutUnit inline_offset, LayoutUnit block_offset);

Powered by Google App Engine
This is Rietveld 408576698