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

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

Issue 2453553002: Resolve ApplyAutoMargins's TODO in NGBlockLayoutAlgorithm. (Closed)
Patch Set: change ApplyAutoMargins to pass margins by pointer + DCHECK Created 4 years, 2 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_length_utils.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h
index c9eafc071031624b1f28a2d3382e181399b01f52..17bcfb96cbb016b120dcf28a82e991c7ee669e2a 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h
@@ -71,7 +71,7 @@ CORE_EXPORT NGBoxStrut ComputePadding(const NGConstraintSpace&,
CORE_EXPORT void ApplyAutoMargins(const NGConstraintSpace&,
const ComputedStyle&,
const NGFragment&,
- NGBoxStrut& margins);
+ NGBoxStrut* margins);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698