diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/layout/ng/custom/custom_layout_constraints.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/layout/ng/custom/custom_layout_constraints.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chromium/third_party/blink/renderer/core/layout/ng/custom/custom_layout_constraints.cc b/chromium/third_party/blink/renderer/core/layout/ng/custom/custom_layout_constraints.cc index 268d0e72343..9ed31898a5c 100644 --- a/chromium/third_party/blink/renderer/core/layout/ng/custom/custom_layout_constraints.cc +++ b/chromium/third_party/blink/renderer/core/layout/ng/custom/custom_layout_constraints.cc @@ -32,16 +32,6 @@ base::Optional<double> CustomLayoutConstraints::fixedBlockSize() const { return fixed_block_size_; } -double CustomLayoutConstraints::fixedBlockSize(bool& is_null) const { - // Check if we've been passed an indefinite block-size. - if (fixed_block_size_ < 0.0) { - is_null = true; - return 0.0; - } - - return fixed_block_size_; -} - ScriptValue CustomLayoutConstraints::data(ScriptState* script_state) const { // "data" is *only* exposed to the LayoutWorkletGlobalScope, and we are able // to return the same deserialized object. We don't need to check which world |