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

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

Issue 631833002: Move color chooser objects to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Keep ~ColorInputType empty 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
« no previous file with comments | « Source/core/html/forms/ColorChooser.h ('k') | Source/core/html/forms/ColorInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/ColorChooserClient.h
diff --git a/Source/core/html/forms/ColorChooserClient.h b/Source/core/html/forms/ColorChooserClient.h
index 2c4c1cb1e5fe7e13ab264fae75616e5ab18037c3..71cc885db369e5608e0e8892567331741eea6358 100644
--- a/Source/core/html/forms/ColorChooserClient.h
+++ b/Source/core/html/forms/ColorChooserClient.h
@@ -33,17 +33,17 @@
#include "platform/ColorSuggestion.h"
#include "platform/geometry/IntRect.h"
-#include "wtf/OwnPtr.h"
-#include "wtf/PassOwnPtr.h"
+#include "platform/heap/Handle.h"
#include "wtf/Vector.h"
namespace blink {
class Element;
-class ColorChooserClient {
+class ColorChooserClient : public WillBeGarbageCollectedMixin {
public:
virtual ~ColorChooserClient();
+ virtual void trace(Visitor*) { }
virtual void didChooseColor(const Color&) = 0;
virtual void didEndChooser() = 0;
« no previous file with comments | « Source/core/html/forms/ColorChooser.h ('k') | Source/core/html/forms/ColorInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698