blob: 5317709b0e726ac9ea721d217220c4c2a077cf79 [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 SVGRootInlineBoxPainter_h
#define SVGRootInlineBoxPainter_h
#include "wtf/Allocator.h"
namespace blink {
struct PaintInfo;
class LayoutPoint;
class SVGRootInlineBox;
class SVGRootInlineBoxPainter {
STACK_ALLOCATED();
public:
SVGRootInlineBoxPainter(const SVGRootInlineBox& svgRootInlineBox)
: m_svgRootInlineBox(svgRootInlineBox) {}
void paint(const PaintInfo&, const LayoutPoint&);
private:
const SVGRootInlineBox& m_svgRootInlineBox;
};
} // namespace blink
#endif // SVGRootInlineBoxPainter_h