Well, you can easily test it yourself, but the answer is yes. Although background vs foreground can be considered as two classes.
For a one class scenario:
DL(p, r) = 1 - 2 * sum( p * r ) / (sum( p ) + sum( r ))
GDL(p, r) = 1 - 2 * w * sum( p * r ) / (w * (sum( p ) + sum( r ))) = 1 - 2 * sum( p * r ) / (sum( p ) + sum( r ))