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

Unified Diff: Source/core/svg/SVGColor.h

Issue 182063004: Rename adoptRefCountedWillBeRefCountedGarbageCollected to adoptRefWillBeRefCountedGarbageCollected (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/page/EventSource.cpp ('k') | Source/core/svg/SVGColor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGColor.h
diff --git a/Source/core/svg/SVGColor.h b/Source/core/svg/SVGColor.h
index cb1c1b0d3714f4c4a4e8e55d5a28d33ba724b8f2..8824adc4c8864bdf13d4faeac0653815920dbc51 100644
--- a/Source/core/svg/SVGColor.h
+++ b/Source/core/svg/SVGColor.h
@@ -43,7 +43,7 @@ public:
static PassRefPtrWillBeRawPtr<SVGColor> createFromString(const String& rgbColor)
{
- RefPtrWillBeRawPtr<SVGColor> color = adoptRefCountedWillBeRefCountedGarbageCollected(new SVGColor(SVG_COLORTYPE_RGBCOLOR));
+ RefPtrWillBeRawPtr<SVGColor> color = adoptRefWillBeRefCountedGarbageCollected(new SVGColor(SVG_COLORTYPE_RGBCOLOR));
StyleColor styleColor = colorFromRGBColorString(rgbColor);
ASSERT(!styleColor.isCurrentColor());
color->setColor(styleColor.color());
@@ -52,14 +52,14 @@ public:
static PassRefPtrWillBeRawPtr<SVGColor> createFromColor(const Color& rgbColor)
{
- RefPtrWillBeRawPtr<SVGColor> color = adoptRefCountedWillBeRefCountedGarbageCollected(new SVGColor(SVG_COLORTYPE_RGBCOLOR));
+ RefPtrWillBeRawPtr<SVGColor> color = adoptRefWillBeRefCountedGarbageCollected(new SVGColor(SVG_COLORTYPE_RGBCOLOR));
color->setColor(rgbColor);
return color.release();
}
static PassRefPtrWillBeRawPtr<SVGColor> createCurrentColor()
{
- return adoptRefCountedWillBeRefCountedGarbageCollected(new SVGColor(SVG_COLORTYPE_CURRENTCOLOR));
+ return adoptRefWillBeRefCountedGarbageCollected(new SVGColor(SVG_COLORTYPE_CURRENTCOLOR));
}
const Color& color() const { return m_color; }
« no previous file with comments | « Source/core/page/EventSource.cpp ('k') | Source/core/svg/SVGColor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698