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

Unified Diff: sky/engine/core/css/CSSCrossfadeValue.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/CSSCrossfadeValue.h ('k') | sky/engine/core/css/CSSFontFaceSrcValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/CSSCrossfadeValue.cpp
diff --git a/sky/engine/core/css/CSSCrossfadeValue.cpp b/sky/engine/core/css/CSSCrossfadeValue.cpp
index 61a4bf94753e5c2302a9cda10e496bed91cee092..b7ee48342913dc854aaa3de40cc16423be20494e 100644
--- a/sky/engine/core/css/CSSCrossfadeValue.cpp
+++ b/sky/engine/core/css/CSSCrossfadeValue.cpp
@@ -202,15 +202,6 @@ void CSSCrossfadeValue::CrossfadeSubimageObserverProxy::imageChanged(ImageResour
m_ownerValue->crossfadeChanged(*rect);
}
-bool CSSCrossfadeValue::hasFailedOrCanceledSubresources() const
-{
- if (m_cachedFromImage && m_cachedFromImage->loadFailedOrCanceled())
- return true;
- if (m_cachedToImage && m_cachedToImage->loadFailedOrCanceled())
- return true;
- return false;
-}
-
bool CSSCrossfadeValue::equals(const CSSCrossfadeValue& other) const
{
return compareCSSValuePtr(m_fromValue, other.m_fromValue)
« no previous file with comments | « sky/engine/core/css/CSSCrossfadeValue.h ('k') | sky/engine/core/css/CSSFontFaceSrcValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698