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

This commit is contained in:
Ryan VanderMeulen 2010-07-17 18:26:02 +02:00
parent b93dfec4ea
commit c6c2c24920

View File

@ -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