"It was all just a dream": First use in film?

From the closing chapter of Alice’s Adventures in Wonderland:

Another early example: A Florida Enchantment (1914). Adapted from a Broadway play; I don’t know if the “all a dream” ending was in the play as well.

Miracle Mile left me with the impression that it was originally meant to end with IWAAD. I won’t spoil anything, but suffice to say that there’s a definite dreamlike aspect to the events, and the sequence in which they occur. It wouldn’t have been illogical to end with IWAAD, but somewhere along the line, someone might have said, “Hey, let’s not wimp out; let’s have it really happen.”