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

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

Issue 2793993003: Make GeometryMapper fully static (Closed)
Patch Set: 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/PaintLayerClipper.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerClipper.h b/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
index afecdc963302cf9cddae52fe03bea95acf78895f..7b4b6563125c4e14ad0595b722b8d7a6f5430bac 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
@@ -48,7 +48,6 @@
#include "core/CoreExport.h"
#include "core/paint/ClipRectsCache.h"
-#include "platform/graphics/paint/GeometryMapper.h"
#include "platform/scroll/ScrollTypes.h"
#include "wtf/Allocator.h"
@@ -56,6 +55,7 @@
namespace blink {
class PaintLayer;
+class PropertyTreeState;
enum ShouldRespectOverflowClipType { IgnoreOverflowClip, RespectOverflowClip };
@@ -172,7 +172,7 @@ class CORE_EXPORT PaintLayerClipper {
DISALLOW_NEW();
public:
- explicit PaintLayerClipper(const PaintLayer&, GeometryMapper*);
+ explicit PaintLayerClipper(const PaintLayer&, bool useGeometryMapper);
void clearClipRectsIncludingDescendants();
void clearClipRectsIncludingDescendants(ClipRectsCacheSlot);
@@ -242,7 +242,7 @@ class CORE_EXPORT PaintLayerClipper {
ALWAYS_INLINE LayoutRect localVisualRect() const;
const PaintLayer& m_layer;
- GeometryMapper* m_geometryMapper;
+ bool m_useGeometryMapper;
friend class PaintLayerClipperTest;
};

Powered by Google App Engine
This is Rietveld 408576698