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

Unified Diff: Source/core/css/CSSImageSetValue.h

Issue 1303173007: Oilpan: Unship Oilpan from CSSValues Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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
« no previous file with comments | « Source/core/css/CSSImageGeneratorValue.cpp ('k') | Source/core/css/CSSImageSetValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSImageSetValue.h
diff --git a/Source/core/css/CSSImageSetValue.h b/Source/core/css/CSSImageSetValue.h
index b50d572dbd847111a10212710589ee256c5de29a..d8e274c3efd0791b3d314b9849ec39935aa2176f 100644
--- a/Source/core/css/CSSImageSetValue.h
+++ b/Source/core/css/CSSImageSetValue.h
@@ -40,9 +40,9 @@ class StyleImage;
class CSSImageSetValue : public CSSValueList {
public:
- static PassRefPtrWillBeRawPtr<CSSImageSetValue> create()
+ static PassRefPtr<CSSImageSetValue> create()
{
- return adoptRefWillBeNoop(new CSSImageSetValue());
+ return adoptRef(new CSSImageSetValue());
}
~CSSImageSetValue();
@@ -65,8 +65,6 @@ public:
bool hasFailedOrCanceledSubresources() const;
- DECLARE_TRACE_AFTER_DISPATCH();
-
protected:
ImageWithScale bestImageForScaleFactor();
@@ -76,7 +74,7 @@ private:
void fillImageSet();
static inline bool compareByScaleFactor(ImageWithScale first, ImageWithScale second) { return first.scaleFactor < second.scaleFactor; }
- RefPtrWillBeMember<StyleImage> m_imageSet;
+ RefPtrWillBePersistent<StyleImage> m_imageSet;
bool m_accessedBestFitImage;
// This represents the scale factor that we used to find the best fit image. It does not necessarily
« no previous file with comments | « Source/core/css/CSSImageGeneratorValue.cpp ('k') | Source/core/css/CSSImageSetValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698