blob: 56a897b9b3c75aacc982e26b65721259df3ad448 [file] [log] [blame]
// Copyright 2016 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/platform/geometry/int_size.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
std::ostream& operator<<(std::ostream& ostream, const IntSize& size) {
return ostream << size.ToString();
}
String IntSize::ToString() const {
return String::Format("%dx%d", Width(), Height());
}
} // namespace blink