Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/css/CSSCrossfadeValue.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/css/CSSCrossfadeValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp b/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
index cad9c3e3a671a6ec8e1bdbdb69c67161db8ef3a7..07e38e5f17f1e64ff2813bb1ecbcc8f98b2be415 100644
--- a/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
@@ -252,11 +252,11 @@ void CSSCrossfadeValue::crossfadeChanged(const IntRect&)
{
for (const auto& curr : clients()) {
LayoutObject* client = const_cast<LayoutObject*>(curr.key);
- client->imageChanged(static_cast<WrappedImagePtr>(this));
+ client->imageChanged(false, static_cast<WrappedImagePtr>(this));
}
}
-void CSSCrossfadeValue::CrossfadeSubimageObserverProxy::imageChanged(ImageResource*, const IntRect* rect)
+void CSSCrossfadeValue::CrossfadeSubimageObserverProxy::imageChanged(bool, ImageResource*, const IntRect* rect)
{
if (m_ready)
m_ownerValue->crossfadeChanged(*rect);

Powered by Google App Engine