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

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: nit refine. Created 4 years, 10 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/css/CSSCrossfadeValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp b/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
index aaab5d88865287e218eee6b20c78d7cb487de8d8..fea0d7063b05e94521fa8ac5ae3fc80dae1c5e8f 100644
--- a/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
@@ -246,11 +246,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
This is Rietveld 408576698