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

Side by Side Diff: Source/core/css/CSSCursorImageValue.h

Issue 185723006: Oilpan: Workaround for crash on quora and geek-and-poke. There is a finalization issue that we need… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix comment. Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 void traceAfterDispatch(Visitor*); 61 void traceAfterDispatch(Visitor*);
62 62
63 private: 63 private:
64 CSSCursorImageValue(PassRefPtrWillBeRawPtr<CSSValue> imageValue, bool hasHot Spot, const IntPoint& hotSpot); 64 CSSCursorImageValue(PassRefPtrWillBeRawPtr<CSSValue> imageValue, bool hasHot Spot, const IntPoint& hotSpot);
65 65
66 bool isSVGCursor() const; 66 bool isSVGCursor() const;
67 String cachedImageURL(); 67 String cachedImageURL();
68 void clearImageResource(); 68 void clearImageResource();
69 69
70 RefPtrWillBeMember<CSSValue> m_imageValue; 70 // FIXME: oilpan: This should be a Member but we need to resolve
71 // finalization order issues first. The CSSCursorImageValue
72 // destructor uses m_imageValue. Leaving it as a RefPtr as a
73 // workaround for now.
74 RefPtr<CSSValue> m_imageValue;
71 75
72 bool m_hasHotSpot; 76 bool m_hasHotSpot;
73 IntPoint m_hotSpot; 77 IntPoint m_hotSpot;
74 RefPtr<StyleImage> m_image; 78 RefPtr<StyleImage> m_image;
75 bool m_accessedImage; 79 bool m_accessedImage;
76 80
77 HashSet<SVGElement*> m_referencedElements; 81 HashSet<SVGElement*> m_referencedElements;
78 }; 82 };
79 83
80 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCursorImageValue, isCursorImageValue()); 84 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCursorImageValue, isCursorImageValue());
81 85
82 } // namespace WebCore 86 } // namespace WebCore
83 87
84 #endif // CSSCursorImageValue_h 88 #endif // CSSCursorImageValue_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698