chromium/third_party/blink/renderer/platform/graphics/paint/foreign_layer_display_item.cc

// Copyright 2016 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/paint/foreign_layer_display_item.h"

#include <utility>

#include "cc/layers/layer.h"
#include "cc/layers/picture_layer.h"
#include "third_party/blink/renderer/platform/graphics/compositing/layers_as_json.h"
#include "third_party/blink/renderer/platform/graphics/graphics_context.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_controller.h"

namespace blink {

ForeignLayerDisplayItem::ForeignLayerDisplayItem(
    DisplayItemClientId client_id,
    Type type,
    scoped_refptr<cc::Layer> layer,
    const gfx::Point& origin,
    RasterEffectOutset outset,
    PaintInvalidationReason paint_invalidation_reason)
    :{}

bool ForeignLayerDisplayItem::EqualsForUnderInvalidationImpl(
    const ForeignLayerDisplayItem& other) const {}

#if DCHECK_IS_ON()
void ForeignLayerDisplayItem::PropertiesAsJSONImpl(JSONObject& json) const {}
#endif

void RecordForeignLayer(GraphicsContext& context,
                        const DisplayItemClient& client,
                        DisplayItem::Type type,
                        scoped_refptr<cc::Layer> layer,
                        const gfx::Point& origin,
                        const PropertyTreeStateOrAlias* properties) {}

}  // namespace blink