From c6c2c249204db53c268ad15b504f0c3ccb253445 Mon Sep 17 00:00:00 2001 From: Ryan VanderMeulen Date: Sat, 17 Jul 2010 18:26:02 +0200 Subject: [PATCH] Bug 577344 - Define extra virtual function unconditionally. r=roc --- gfx/layers/Layers.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gfx/layers/Layers.h b/gfx/layers/Layers.h index 407a078590e..982479d96a7 100644 --- a/gfx/layers/Layers.h +++ b/gfx/layers/Layers.h @@ -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