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

Side by Side Diff: Source/core/css/CSSCursorImageValue.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSCrossfadeValue.h ('k') | Source/core/css/CSSFilterRule.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Rob Buis <buis@kde.org> 2 * Copyright (C) 2006 Rob Buis <buis@kde.org>
3 * Copyright (C) 2008 Apple Inc. All right reserved. 3 * Copyright (C) 2008 Apple Inc. All right reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 16 matching lines...) Expand all
27 27
28 namespace WebCore { 28 namespace WebCore {
29 29
30 class Element; 30 class Element;
31 class SVGElement; 31 class SVGElement;
32 32
33 class CSSCursorImageValue : public CSSValue { 33 class CSSCursorImageValue : public CSSValue {
34 public: 34 public:
35 static PassRefPtrWillBeRawPtr<CSSCursorImageValue> create(PassRefPtrWillBeRa wPtr<CSSValue> imageValue, bool hasHotSpot, const IntPoint& hotSpot) 35 static PassRefPtrWillBeRawPtr<CSSCursorImageValue> create(PassRefPtrWillBeRa wPtr<CSSValue> imageValue, bool hasHotSpot, const IntPoint& hotSpot)
36 { 36 {
37 return adoptRefCountedWillBeRefCountedGarbageCollected(new CSSCursorImag eValue(imageValue, hasHotSpot, hotSpot)); 37 return adoptRefWillBeRefCountedGarbageCollected(new CSSCursorImageValue( imageValue, hasHotSpot, hotSpot));
38 } 38 }
39 39
40 ~CSSCursorImageValue(); 40 ~CSSCursorImageValue();
41 41
42 bool hasHotSpot() const { return m_hasHotSpot; } 42 bool hasHotSpot() const { return m_hasHotSpot; }
43 43
44 IntPoint hotSpot() const 44 IntPoint hotSpot() const
45 { 45 {
46 if (m_hasHotSpot) 46 if (m_hasHotSpot)
47 return m_hotSpot; 47 return m_hotSpot;
(...skipping 27 matching lines...) Expand all
75 bool m_accessedImage; 75 bool m_accessedImage;
76 76
77 HashSet<SVGElement*> m_referencedElements; 77 HashSet<SVGElement*> m_referencedElements;
78 }; 78 };
79 79
80 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCursorImageValue, isCursorImageValue()); 80 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCursorImageValue, isCursorImageValue());
81 81
82 } // namespace WebCore 82 } // namespace WebCore
83 83
84 #endif // CSSCursorImageValue_h 84 #endif // CSSCursorImageValue_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSCrossfadeValue.h ('k') | Source/core/css/CSSFilterRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698