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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.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/core/layout/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index e896074c771bc126d1261a6779d12418335b188c..f79f2e470edbff3496ab8b18c88bbbee53fb430e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -1544,13 +1544,10 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
// ImageResourceClient override.
void ImageChanged(ImageResourceContent*, const IntRect* = nullptr) final;
+ void ImageChanged(WrappedImagePtr, const IntRect* = nullptr) override {}
bool WillRenderImage() final;
bool GetImageAnimationPolicy(ImageAnimationPolicy&) final;
- // Sub-classes that have an associated image need to override this function
- // to get notified of any image change.
- virtual void ImageChanged(WrappedImagePtr, const IntRect* = nullptr) {}
-
std::pair<int, int> SelectionStartEnd() const;
void Remove() {

Powered by Google App Engine
This is Rietveld 408576698