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

Unified Diff: third_party/WebKit/Source/core/svg/LinearGradientAttributes.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/svg/LinearGradientAttributes.h
diff --git a/third_party/WebKit/Source/core/svg/LinearGradientAttributes.h b/third_party/WebKit/Source/core/svg/LinearGradientAttributes.h
index 7b6f0a47aa59cf1f7454afb156360c72c2b61bce..5ca6a42e930cbf0fc567e13604a131aaaffd7147 100644
--- a/third_party/WebKit/Source/core/svg/LinearGradientAttributes.h
+++ b/third_party/WebKit/Source/core/svg/LinearGradientAttributes.h
@@ -47,10 +47,10 @@ public:
SVGLength* x2() const { return m_x2.get(); }
SVGLength* y2() const { return m_y2.get(); }
- void setX1(PassRefPtrWillBeRawPtr<SVGLength> value) { m_x1 = value; m_x1Set = true; }
- void setY1(PassRefPtrWillBeRawPtr<SVGLength> value) { m_y1 = value; m_y1Set = true; }
- void setX2(PassRefPtrWillBeRawPtr<SVGLength> value) { m_x2 = value; m_x2Set = true; }
- void setY2(PassRefPtrWillBeRawPtr<SVGLength> value) { m_y2 = value; m_y2Set = true; }
+ void setX1(RawPtr<SVGLength> value) { m_x1 = value; m_x1Set = true; }
+ void setY1(RawPtr<SVGLength> value) { m_y1 = value; m_y1Set = true; }
+ void setX2(RawPtr<SVGLength> value) { m_x2 = value; m_x2Set = true; }
+ void setY2(RawPtr<SVGLength> value) { m_y2 = value; m_y2Set = true; }
bool hasX1() const { return m_x1Set; }
bool hasY1() const { return m_y1Set; }
@@ -67,10 +67,10 @@ public:
private:
// Properties
- RefPtrWillBeMember<SVGLength> m_x1;
- RefPtrWillBeMember<SVGLength> m_y1;
- RefPtrWillBeMember<SVGLength> m_x2;
- RefPtrWillBeMember<SVGLength> m_y2;
+ Member<SVGLength> m_x1;
+ Member<SVGLength> m_y1;
+ Member<SVGLength> m_x2;
+ Member<SVGLength> m_y2;
// Property states
bool m_x1Set : 1;

Powered by Google App Engine
This is Rietveld 408576698