blob: 4318fa8392a51ec7e5cfbd69c8abf8b91aae23d6 [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 "platform/geometry/IntPoint.h"
#include "platform/wtf/text/WTFString.h"
namespace blink {
std::ostream& operator<<(std::ostream& ostream, const IntPoint& point) {
return ostream << point.ToString();
}
String IntPoint::ToString() const {
return String::Format("%d,%d", X(), Y());
}
} // namespace blink