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

Unified Diff: third_party/WebKit/Source/core/html/forms/DateTimeChooser.h

Issue 1432243003: Oilpan: move DateTimeChooser to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | third_party/WebKit/Source/core/html/shadow/PickerIndicatorElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/forms/DateTimeChooser.h
diff --git a/third_party/WebKit/Source/core/html/forms/DateTimeChooser.h b/third_party/WebKit/Source/core/html/forms/DateTimeChooser.h
index 7f46aa622085a00a1ff637226d38b56e9f5bfff2..8a14fe3aa9419688d0f3c06a074fcbc51f453ac9 100644
--- a/third_party/WebKit/Source/core/html/forms/DateTimeChooser.h
+++ b/third_party/WebKit/Source/core/html/forms/DateTimeChooser.h
@@ -33,6 +33,7 @@
#include "core/CoreExport.h"
#include "platform/geometry/IntRect.h"
+#include "platform/heap/Handle.h"
#include "wtf/Allocator.h"
#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
@@ -70,13 +71,15 @@ struct DateTimeChooserParameters {
};
// For pickers like color pickers and date pickers.
-class CORE_EXPORT DateTimeChooser : public RefCounted<DateTimeChooser> {
+class CORE_EXPORT DateTimeChooser : public RefCountedWillBeGarbageCollectedFinalized<DateTimeChooser> {
public:
virtual ~DateTimeChooser();
virtual void endChooser() = 0;
// Returns a root AXObject in the DateTimeChooser if it's available.
virtual AXObject* rootAXObject() = 0;
+
+ DEFINE_INLINE_VIRTUAL_TRACE() { }
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/shadow/PickerIndicatorElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698