chromium/third_party/blink/renderer/platform/graphics/memory_managed_paint_canvas.cc

// Copyright 2019 The Chromium Authors
// 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/graphics/memory_managed_paint_canvas.h"

#include "base/memory/ptr_util.h"

namespace blink {

MemoryManagedPaintCanvas::MemoryManagedPaintCanvas(const gfx::Size& size)
    :{}

MemoryManagedPaintCanvas::MemoryManagedPaintCanvas(
    CreateChildCanvasTag,
    const MemoryManagedPaintCanvas& parent)
    :{}

MemoryManagedPaintCanvas::~MemoryManagedPaintCanvas() = default;

std::unique_ptr<MemoryManagedPaintCanvas>
MemoryManagedPaintCanvas::CreateChildCanvas() {}

cc::PaintRecord MemoryManagedPaintCanvas::ReleaseAsRecord() {}

void MemoryManagedPaintCanvas::drawImage(const cc::PaintImage& image,
                                         SkScalar left,
                                         SkScalar top,
                                         const SkSamplingOptions& sampling,
                                         const cc::PaintFlags* flags) {}

void MemoryManagedPaintCanvas::drawImageRect(
    const cc::PaintImage& image,
    const SkRect& src,
    const SkRect& dst,
    const SkSamplingOptions& sampling,
    const cc::PaintFlags* flags,
    SkCanvas::SrcRectConstraint constraint) {}

void MemoryManagedPaintCanvas::UpdateMemoryUsage(const cc::PaintImage& image) {}

bool MemoryManagedPaintCanvas::IsCachingImage(
    const cc::PaintImage::ContentId content_id) const {}

}  // namespace blink