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

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

Issue 2733133002: Combine 2 exclusions in Layout Opportunity Tree if they shadow each other (Closed)
Patch Set: delete unreachable return statement Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.h
diff --git a/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.h b/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.h
index 1256793311b7bb8fae666cd3f9744660f34acedb..c81451e7da889547e463864340b1bcc5fb107241 100644
--- a/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.h
+++ b/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.h
@@ -38,6 +38,10 @@ struct CORE_EXPORT NGLogicalRect {
return offset.block_offset + size.block_size;
}
+ NGLogicalOffset InlineEndBlockStartOffset() const {
+ return {InlineEndOffset(), BlockStartOffset()};
+ }
+
LayoutUnit BlockSize() const { return size.block_size; }
LayoutUnit InlineSize() const { return size.inline_size; }
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698