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

Unified Diff: third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h

Issue 2941533002: Break StyleImage dependency on LayoutObject (Closed)
Patch Set: Address reviewer comments Created 3 years, 6 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/modules/csspaint/CSSPaintImageGeneratorImpl.h
diff --git a/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h b/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h
index 6b4d5ea2b90878560b1b0163e2cce6bc4e3404cb..5b383bd66c8bef241649ff7a69b23d33db8726e9 100644
--- a/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h
+++ b/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h
@@ -22,11 +22,11 @@ class Image;
class CSSPaintImageGeneratorImpl final : public CSSPaintImageGenerator {
public:
static CSSPaintImageGenerator* Create(const String& name,
- Document&,
+ const Document&,
Observer*);
~CSSPaintImageGeneratorImpl() override;
- PassRefPtr<Image> Paint(const LayoutObject&,
+ PassRefPtr<Image> Paint(const ImageResourceObserver&,
const IntSize&,
const CSSStyleValueVector*) final;
const Vector<CSSPropertyID>& NativeInvalidationProperties() const final;

Powered by Google App Engine
This is Rietveld 408576698