You can figure this out from a scaling argument. The gravitational constant, G, has dimensions of (length)3(mass)-1(time)-2 or, in shorthand, L3M-1T-2. The speed of light, c, is the universal conversion between time and distance, since it has units of LT-1.
Finally, quantum effects are characterized by Planck's constant h, or more commonly used [tex]\hbar[/tex], which has units of L2M T-1. If [tex]\hbar[/tex] were zero, quantum effects would not exist, so in the limit that [tex]\hbar \rightarrow 0[/tex], the length scale where quantum effects becomes important must also go to zero. So our length scale must depend on [tex]\hbar[/tex] to a positive power.
Can you see how to combine [tex]\hbar[/tex] and [tex]G[/tex] to eliminate the mass scale? How about how to combine powers of [tex]c[/tex] with the result to convert time to length units?