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

Unified Diff: Source/platform/heap/Visitor.h

Issue 659953002: Add a pure virtual method to the GarbageCollectedMixin class (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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
« no previous file with comments | « Source/modules/screen_orientation/ScreenOrientationDispatcher.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Visitor.h
diff --git a/Source/platform/heap/Visitor.h b/Source/platform/heap/Visitor.h
index 8e6218c8d15dfea8e30689374b99d1a90117ead9..cd073daf5c73a3fcf02d5e476afcda9f66d662d7 100644
--- a/Source/platform/heap/Visitor.h
+++ b/Source/platform/heap/Visitor.h
@@ -585,8 +585,8 @@ template<typename T> bool ObjectAliveTrait<T>::isHeapObjectAlive(Visitor* visito
class PLATFORM_EXPORT GarbageCollectedMixin {
public:
- virtual void adjustAndMark(Visitor*) const { };
- virtual bool isHeapObjectAlive(Visitor*) const { return true; };
+ virtual void adjustAndMark(Visitor*) const = 0;
+ virtual bool isHeapObjectAlive(Visitor*) const = 0;
virtual void trace(Visitor*) { }
};
« no previous file with comments | « Source/modules/screen_orientation/ScreenOrientationDispatcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698