blob: 7ab7ec9c426b224637de1450e9ed6e53efffa53d [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 "platform/graphics/paint/PaintChunk.h"
#include "platform/wtf/text/WTFString.h"
namespace blink {
String PaintChunk::ToString() const {
return String::Format(
"begin=%zu, end=%zu, id=%s cacheable=%d props=(%s) bounds=%s "
"known_to_be_opaque=%d raster_invalidation_rects=%zu",
begin_index, end_index, id.ToString().Ascii().data(), is_cacheable,
properties.ToString().Ascii().data(), bounds.ToString().Ascii().data(),
known_to_be_opaque, raster_invalidation_rects.size());
}
} // namespace blink