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

Unified Diff: third_party/WebKit/Source/core/style/NinePieceImage.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/NinePieceImage.h
diff --git a/third_party/WebKit/Source/core/style/NinePieceImage.h b/third_party/WebKit/Source/core/style/NinePieceImage.h
index fc37d37e68b68de4dc016c3b8bd7508f55b7c673..42023a9704cf81739313e4aa2430af145e83dd86 100644
--- a/third_party/WebKit/Source/core/style/NinePieceImage.h
+++ b/third_party/WebKit/Source/core/style/NinePieceImage.h
@@ -49,7 +49,7 @@ public:
unsigned fill : 1;
unsigned horizontalRule : 2; // ENinePieceImageRule
unsigned verticalRule : 2; // ENinePieceImageRule
- RefPtrWillBePersistent<StyleImage> image;
+ Persistent<StyleImage> image;
LengthBox imageSlices;
BorderImageLengthBox borderSlices;
BorderImageLengthBox outset;
@@ -63,7 +63,7 @@ class CORE_EXPORT NinePieceImage {
DISALLOW_NEW();
public:
NinePieceImage();
- NinePieceImage(PassRefPtrWillBeRawPtr<StyleImage>, LengthBox imageSlices, bool fill, const BorderImageLengthBox& borderSlices,
+ NinePieceImage(RawPtr<StyleImage>, LengthBox imageSlices, bool fill, const BorderImageLengthBox& borderSlices,
const BorderImageLengthBox& outset, ENinePieceImageRule horizontalRule, ENinePieceImageRule verticalRule);
bool operator==(const NinePieceImage& other) const { return m_data == other.m_data; }
@@ -71,7 +71,7 @@ public:
bool hasImage() const { return m_data->image; }
StyleImage* image() const { return m_data->image.get(); }
- void setImage(PassRefPtrWillBeRawPtr<StyleImage> image) { m_data.access()->image = image; }
+ void setImage(RawPtr<StyleImage> image) { m_data.access()->image = image; }
const LengthBox& imageSlices() const { return m_data->imageSlices; }
void setImageSlices(const LengthBox& slices) { m_data.access()->imageSlices = slices; }
« no previous file with comments | « third_party/WebKit/Source/core/style/FillLayer.cpp ('k') | third_party/WebKit/Source/core/style/NinePieceImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698