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

Unified Diff: third_party/WebKit/Source/core/style/StyleFetchedImage.cpp

Issue 1706083002: Split ImageResourceClient into ResourceClient and ImageResourceObserver [1/2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 9 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/style/StyleFetchedImage.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp b/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp
index 135b2b4414de6d4b5f96a962a432ec5c0b072734..853b8993b6829cd22e3de5dcc1d26a7a44b70818 100644
--- a/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp
@@ -116,12 +116,12 @@ bool StyleFetchedImage::usesImageContainerSize() const
void StyleFetchedImage::addClient(LayoutObject* layoutObject)
{
- m_image->addClient(layoutObject);
+ m_image->addObserver(layoutObject);
}
void StyleFetchedImage::removeClient(LayoutObject* layoutObject)
{
- m_image->removeClient(layoutObject);
+ m_image->removeObserver(layoutObject);
}
void StyleFetchedImage::notifyFinished(Resource* resource)
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleFetchedImage.h ('k') | third_party/WebKit/Source/core/style/StyleFetchedImageSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698