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

Unified Diff: third_party/WebKit/Source/core/css/CSSImageSetValue.cpp

Issue 1387113002: Change StyleResolverState.styleImage() to take a const CSSValue& (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added TODOs to replace the members with const members Created 5 years, 2 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/CSSImageSetValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSImageSetValue.cpp b/third_party/WebKit/Source/core/css/CSSImageSetValue.cpp
index f50ba2471ff7b8c0cb67471f3ecac789809534ba..46f16b8514d03fec5afa00e595bf30db833148fc 100644
--- a/third_party/WebKit/Source/core/css/CSSImageSetValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSImageSetValue.cpp
@@ -98,7 +98,7 @@ bool CSSImageSetValue::isCachePending(float deviceScaleFactor) const
return m_isCachePending || deviceScaleFactor != m_cachedScaleFactor;
}
-StyleFetchedImageSet* CSSImageSetValue::cachedImageSet(float deviceScaleFactor)
+StyleFetchedImageSet* CSSImageSetValue::cachedImageSet(float deviceScaleFactor) const
{
ASSERT(!isCachePending(deviceScaleFactor));
return m_cachedImageSet.get();

Powered by Google App Engine
This is Rietveld 408576698