Bug 577344 - Define extra virtual function unconditionally. r=roc

This commit is contained in:
Ryan VanderMeulen 2010-07-17 18:26:02 +02:00
Родитель 9be378b542
Коммит bf4b81178a
1 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -67,14 +67,9 @@ class ColorLayer;
class ImageContainer;
class CanvasLayer;
#if defined(DEBUG) || defined(PR_LOGGING)
#define NS_LAYER_DECL_NAME(n, e) \
virtual const char* Name() { return n; } \
virtual LayerType GetType() { return e; }
#else
#define NS_LAYER_DECL_NAME(n, e) \
virtual LayerType GetType() { return e; }
#endif
/*
* Motivation: For truly smooth animation and video playback, we need to