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

Unified Diff: Source/core/style/StyleFetchedImage.cpp

Issue 1164573002: CSSValue Immediates: Change CSSValue to an object instead of a pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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: Source/core/style/StyleFetchedImage.cpp
diff --git a/Source/core/style/StyleFetchedImage.cpp b/Source/core/style/StyleFetchedImage.cpp
index f3cb2756955b44ad6944809baebc468f7276f10d..f526b885710c616e177e3bf8b4f7c1be9db21c84 100644
--- a/Source/core/style/StyleFetchedImage.cpp
+++ b/Source/core/style/StyleFetchedImage.cpp
@@ -44,7 +44,7 @@ StyleFetchedImage::~StyleFetchedImage()
m_image->removeClient(this);
}
-PassRefPtrWillBeRawPtr<CSSValue> StyleFetchedImage::cssValue() const
+CSSValue StyleFetchedImage::cssValue() const
{
return CSSImageValue::create(m_image->url(), const_cast<StyleFetchedImage*>(this));
}

Powered by Google App Engine
This is Rietveld 408576698