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

Unified Diff: third_party/WebKit/Source/core/css/CSSImageValue.h

Issue 1858753003: Remove RawPtr from core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/CSSImageValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSImageValue.h b/third_party/WebKit/Source/core/css/CSSImageValue.h
index 0082a0eb61e6a0198864e53c36861cf363684558..da38ac220f681fbbe555cb9fc0babd034fa6d33b 100644
--- a/third_party/WebKit/Source/core/css/CSSImageValue.h
+++ b/third_party/WebKit/Source/core/css/CSSImageValue.h
@@ -36,19 +36,19 @@ class LayoutObject;
class CORE_EXPORT CSSImageValue : public CSSValue {
public:
- static RawPtr<CSSImageValue> create(const KURL& url, StyleImage* image = 0)
+ static CSSImageValue* create(const KURL& url, StyleImage* image = 0)
{
return create(url.getString(), url, image);
}
- static RawPtr<CSSImageValue> create(const String& rawValue, const KURL& url, StyleImage* image = 0)
+ static CSSImageValue* create(const String& rawValue, const KURL& url, StyleImage* image = 0)
{
return create(AtomicString(rawValue), url, image);
}
- static RawPtr<CSSImageValue> create(const AtomicString& rawValue, const KURL& url, StyleImage* image = 0)
+ static CSSImageValue* create(const AtomicString& rawValue, const KURL& url, StyleImage* image = 0)
{
return new CSSImageValue(rawValue, url, image);
}
- static RawPtr<CSSImageValue> create(const AtomicString& absoluteURL)
+ static CSSImageValue* create(const AtomicString& absoluteURL)
{
return new CSSImageValue(absoluteURL);
}
@@ -73,7 +73,7 @@ public:
bool knownToBeOpaque(const LayoutObject&) const;
- RawPtr<CSSImageValue> valueWithURLMadeAbsolute()
+ CSSImageValue* valueWithURLMadeAbsolute()
{
return create(KURL(ParsedURLString, m_absoluteURL), m_cachedImage.get());
}
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSImageSetValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSImageValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698