Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Unified Diff: third_party/WebKit/Source/core/paint/SVGClipPainter.h

Issue 2738493002: Remove begin/end methods on CompositingRecorder. (Closed)
Patch Set: rm-compositingrecorder-methods: replace-default Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/SVGClipPainter.h
diff --git a/third_party/WebKit/Source/core/paint/SVGClipPainter.h b/third_party/WebKit/Source/core/paint/SVGClipPainter.h
deleted file mode 100644
index 053927ce61fbe853fede09d9d98e86f40938cb26..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/paint/SVGClipPainter.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// 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 SVGClipPainter_h
-#define SVGClipPainter_h
-
-#include "platform/geometry/FloatRect.h"
-#include "platform/graphics/paint/DisplayItemClient.h"
-#include "wtf/Allocator.h"
-
-namespace blink {
-
-class AffineTransform;
-class GraphicsContext;
-class LayoutObject;
-class LayoutSVGResourceClipper;
-
-enum class ClipperState;
-
-class SVGClipPainter {
- STACK_ALLOCATED();
-
- public:
- SVGClipPainter(LayoutSVGResourceClipper& clip) : m_clip(clip) {}
-
- bool prepareEffect(const LayoutObject&,
- const FloatRect&,
- const FloatRect&,
- const FloatPoint&,
- GraphicsContext&,
- ClipperState&);
- void finishEffect(const LayoutObject&, GraphicsContext&, ClipperState&);
-
- private:
- // Return false if there is a problem drawing the mask.
- bool drawClipAsMask(GraphicsContext&,
- const LayoutObject&,
- const FloatRect& targetBoundingBox,
- const FloatRect& targetVisualRect,
- const AffineTransform&,
- const FloatPoint&);
-
- LayoutSVGResourceClipper& m_clip;
-};
-
-} // namespace blink
-
-#endif // SVGClipPainter_h

Powered by Google App Engine
This is Rietveld 408576698