blob: 7199a538f9f94e8e88f83d143d391e232fe03e49 [file] [log] [blame]
// Copyright 2015 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.
#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_TESTING_FAKE_GRAPHICS_LAYER_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_TESTING_FAKE_GRAPHICS_LAYER_H_
#include "third_party/blink/renderer/platform/graphics/graphics_layer.h"
namespace blink {
// A simple GraphicsLayer implementation suitable for use in unit tests.
class FakeGraphicsLayer : public GraphicsLayer {
public:
explicit FakeGraphicsLayer(GraphicsLayerClient& client)
: GraphicsLayer(client) {}
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_PLATFORM_TESTING_FAKE_GRAPHICS_LAYER_H_