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

Unified Diff: third_party/WebKit/Source/core/style/StyleImage.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/style/StyleImage.h
diff --git a/third_party/WebKit/Source/core/style/StyleImage.h b/third_party/WebKit/Source/core/style/StyleImage.h
index 7e3192a31341f93d3bf1ea53d9a4e0a1409fcc22..3ca01b0875bd35d9e19e7a49640602fa91ebfdf2 100644
--- a/third_party/WebKit/Source/core/style/StyleImage.h
+++ b/third_party/WebKit/Source/core/style/StyleImage.h
@@ -42,7 +42,7 @@ class SVGImage;
typedef void* WrappedImagePtr;
-class CORE_EXPORT StyleImage : public RefCountedWillBeGarbageCollectedFinalized<StyleImage> {
+class CORE_EXPORT StyleImage : public GarbageCollectedFinalized<StyleImage> {
public:
virtual ~StyleImage() { }
@@ -51,8 +51,8 @@ public:
return data() == other.data();
}
- virtual PassRefPtrWillBeRawPtr<CSSValue> cssValue() const = 0;
- virtual PassRefPtrWillBeRawPtr<CSSValue> computedCSSValue() const = 0;
+ virtual RawPtr<CSSValue> cssValue() const = 0;
+ virtual RawPtr<CSSValue> computedCSSValue() const = 0;
virtual bool canRender() const { return true; }
virtual bool isLoaded() const { return true; }
@@ -103,7 +103,7 @@ protected:
#define DEFINE_STYLE_IMAGE_TYPE_CASTS(thisType, function) \
DEFINE_TYPE_CASTS(thisType, StyleImage, styleImage, styleImage->function, styleImage.function); \
- inline thisType* to##thisType(const RefPtrWillBeMember<StyleImage>& styleImage) { return to##thisType(styleImage.get()); } \
+ inline thisType* to##thisType(const Member<StyleImage>& styleImage) { return to##thisType(styleImage.get()); } \
typedef int NeedsSemiColonAfterDefineStyleImageTypeCasts
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp ('k') | third_party/WebKit/Source/core/style/StyleInvalidImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698