blob: cf934f0d5b4fb8393a444d8f19574c6c0653a1a5 [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 "cc/surfaces/local_surface_id.h"
#include "base/strings/stringprintf.h"
namespace cc {
std::string LocalSurfaceId::ToString() const {
return base::StringPrintf("LocalSurfaceId(%d, %s" PRIu64 ")", local_id_,
std::ostream& operator<<(std::ostream& out,
const LocalSurfaceId& local_surface_id) {
return out << local_surface_id.ToString();
} // namespace cc