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

Unified Diff: sky/engine/core/css/CSSImageValue.cpp

Issue 799113003: Remove hasFailedOrCanceledSubresources. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « sky/engine/core/css/CSSImageValue.h ('k') | sky/engine/core/css/CSSValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/CSSImageValue.cpp
diff --git a/sky/engine/core/css/CSSImageValue.cpp b/sky/engine/core/css/CSSImageValue.cpp
index bc87bd028c4260b415e1091eeda04c5cfa8d3fbd..94d94010b28d3e5ce24f76073ff03a71d58970e2 100644
--- a/sky/engine/core/css/CSSImageValue.cpp
+++ b/sky/engine/core/css/CSSImageValue.cpp
@@ -85,15 +85,6 @@ void CSSImageValue::restoreCachedResourceIfNeeded(Document& document)
document.fetcher()->requestLoadStarted(resource, request, ResourceFetcher::ResourceLoadingFromCache);
}
-bool CSSImageValue::hasFailedOrCanceledSubresources() const
-{
- if (!m_image || !m_image->isImageResource())
- return false;
- if (Resource* cachedResource = toStyleFetchedImage(m_image)->cachedImage())
- return cachedResource->loadFailedOrCanceled();
- return true;
-}
-
bool CSSImageValue::equals(const CSSImageValue& other) const
{
return m_absoluteURL == other.m_absoluteURL;
« no previous file with comments | « sky/engine/core/css/CSSImageValue.h ('k') | sky/engine/core/css/CSSValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698