blob: 9a355e803dedc59cbc16b5bd06906659776bfa19 [file] [log] [blame]
// Copyright 2014 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 SVGContainerPainter_h
#define SVGContainerPainter_h
#include "wtf/Allocator.h"
namespace blink {
struct PaintInfo;
class LayoutSVGContainer;
class SVGContainerPainter {
STACK_ALLOCATED();
public:
SVGContainerPainter(const LayoutSVGContainer& layoutSVGContainer)
: m_layoutSVGContainer(layoutSVGContainer) {}
void paint(const PaintInfo&);
private:
const LayoutSVGContainer& m_layoutSVGContainer;
};
} // namespace blink
#endif // SVGContainerPainter_h