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

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

Issue 2664383003: [LayoutNG] Make NGBlockNode return a const style reference. (Closed)
Patch Set: . Created 3 years, 11 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_block_node.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_node.h b/third_party/WebKit/Source/core/layout/ng/ng_block_node.h
index 28d3574fcdc9821bbe993f2b445f5ab6a63c4334..ce674072cb0d116f9b0482ec85a861867eb4ce18 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_node.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_node.h
@@ -43,8 +43,7 @@ class CORE_EXPORT NGBlockNode final : public NGLayoutInputNode {
// using Layout with special constraint spaces.
MinAndMaxContentSizes ComputeMinAndMaxContentSizes();
- const ComputedStyle* Style() const;
- ComputedStyle* MutableStyle();
+ const ComputedStyle& Style() const;
NGLayoutInputNode* FirstChild();

Powered by Google App Engine
This is Rietveld 408576698