Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.cpp

Issue 1728313003: Split ImageResourceClient into ResourceClient and ImageResourceObserver [2/2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and reflect comment Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
index 5cd0725ae2109e4db19d47fd31246d4ac4bbc611..4da7552ccdc0b001c32251b2b746668181ad8d5f 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
@@ -3256,10 +3256,10 @@ bool LayoutObject::isInert() const
return layoutObject->node()->isInert();
}
-void LayoutObject::imageChanged(ImageResource* image, const IntRect* rect)
+void LayoutObject::imageChanged(bool isNotifyingFinish, ImageResource* image, const IntRect* rect)
{
ASSERT(m_node);
- imageChanged(static_cast<WrappedImagePtr>(image), rect);
+ imageChanged(isNotifyingFinish, static_cast<WrappedImagePtr>(image), rect);
}
Element* LayoutObject::offsetParent() const

Powered by Google App Engine