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

Unified Diff: Source/core/html/forms/ColorInputType.h

Issue 631833002: Move color chooser objects to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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: Source/core/html/forms/ColorInputType.h
diff --git a/Source/core/html/forms/ColorInputType.h b/Source/core/html/forms/ColorInputType.h
index 13adc815a88142b3a3c9ec1f4bd8d4a3745d660d..f5c80a070f90f8fcc9b16bb86aa6b12267357068 100644
--- a/Source/core/html/forms/ColorInputType.h
+++ b/Source/core/html/forms/ColorInputType.h
@@ -39,9 +39,11 @@ namespace blink {
class ColorChooser;
class ColorInputType FINAL : public BaseClickableWithKeyInputType, public ColorChooserClient {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ColorInputType);
public:
static PassRefPtrWillBeRawPtr<InputType> create(HTMLInputElement&);
virtual ~ColorInputType();
+ virtual void trace(Visitor*) override;
// ColorChooserClient implementation.
virtual void didChooseColor(const Color&) OVERRIDE;
@@ -73,7 +75,7 @@ private:
void endColorChooser();
HTMLElement* shadowColorSwatch() const;
- OwnPtr<ColorChooser> m_chooser;
+ OwnPtrWillBeMember<ColorChooser> m_chooser;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698