blob: 05270df8a34197336d59d8141113f24954d34261 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/layout/ng/geometry/ng_bfc_offset.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
String NGBfcOffset::ToString() const {
return String::Format("%dx%d", line_offset.ToInt(), block_offset.ToInt());
}
std::ostream& operator<<(std::ostream& os, const NGBfcOffset& value) {
return os << value.ToString();
}
} // namespace blink