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

Unified Diff: Source/core/style/StyleGeneratedImage.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: (Hopefully) Builds with oilpan now Created 5 years, 6 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/StyleGeneratedImage.cpp
diff --git a/Source/core/style/StyleGeneratedImage.cpp b/Source/core/style/StyleGeneratedImage.cpp
index 382c11c2e9ed223aa72672d101cfc88730ff1b6d..997b4ea670938935f50dc5e4fae082c0c076d63d 100644
--- a/Source/core/style/StyleGeneratedImage.cpp
+++ b/Source/core/style/StyleGeneratedImage.cpp
@@ -37,9 +37,9 @@ StyleGeneratedImage::StyleGeneratedImage(PassRefPtrWillBeRawPtr<CSSImageGenerato
m_isGeneratedImage = true;
}
-PassRefPtrWillBeRawPtr<CSSValue> StyleGeneratedImage::cssValue() const
+CSSValue StyleGeneratedImage::cssValue() const
{
- return m_imageGeneratorValue.get();
+ return *m_imageGeneratorValue;
}
LayoutSize StyleGeneratedImage::imageSize(const LayoutObject* layoutObject, float multiplier) const

Powered by Google App Engine
This is Rietveld 408576698