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

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

Issue 1512803004: Use refs for GraphicsContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarTheme
Patch Set: Created 5 years 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/FilterPainter.h
diff --git a/third_party/WebKit/Source/core/paint/FilterPainter.h b/third_party/WebKit/Source/core/paint/FilterPainter.h
index 20a87fa3468e94f99404b8e54afb12bf31100adf..c178b7027000eb7915a79288d598ea9e1804d4ec 100644
--- a/third_party/WebKit/Source/core/paint/FilterPainter.h
+++ b/third_party/WebKit/Source/core/paint/FilterPainter.h
@@ -19,12 +19,12 @@ class LayerClipRecorder;
class FilterPainter {
STACK_ALLOCATED();
public:
- FilterPainter(PaintLayer&, GraphicsContext*, const LayoutPoint& offsetFromRoot, const ClipRect&, PaintLayerPaintingInfo&, PaintLayerFlags paintFlags, LayoutRect& rootRelativeBounds, bool& rootRelativeBoundsComputed);
+ FilterPainter(PaintLayer&, GraphicsContext&, const LayoutPoint& offsetFromRoot, const ClipRect&, PaintLayerPaintingInfo&, PaintLayerFlags paintFlags, LayoutRect& rootRelativeBounds, bool& rootRelativeBoundsComputed);
~FilterPainter();
private:
bool m_filterInProgress;
- GraphicsContext* m_context;
+ GraphicsContext& m_context;
OwnPtr<LayerClipRecorder> m_clipRecorder;
LayoutObject* m_layoutObject;
};

Powered by Google App Engine
This is Rietveld 408576698