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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolverState.h

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/resolver/StyleResolverState.h
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
index 95aec4a72f54a95da1f85123913d2fdca56331b9..5985484508f86051a54385682ad5dba70bfb417b 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
@@ -115,7 +115,7 @@ public:
// FIXME: Once styleImage can be made to not take a StyleResolverState
// this convenience function should be removed. As-is, without this, call
// sites are extremely verbose.
- PassRefPtrWillBeRawPtr<StyleImage> styleImage(CSSPropertyID propertyId, CSSValue* value)
+ PassRefPtrWillBeRawPtr<StyleImage> styleImage(CSSPropertyID propertyId, const CSSValue& value)
{
return m_elementStyleResources.styleImage(document(), propertyId, value);
}

Powered by Google App Engine
This is Rietveld 408576698