Revert "Make the default framebuffer owned by Surface"

Compilation warning on Windows

This reverts commit 6cb2ae8292e69aa110c89e0465366b9f049c1168.

Change-Id: I4ecadf5d8e909f986da186a7326cfa0922ae8710
Reviewed-on: https://chromium-review.googlesource.com/294241
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Tested-by: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/libANGLE/renderer/DisplayImpl.cpp b/src/libANGLE/renderer/DisplayImpl.cpp
index 2eb44eb..16446f9 100644
--- a/src/libANGLE/renderer/DisplayImpl.cpp
+++ b/src/libANGLE/renderer/DisplayImpl.cpp
@@ -29,8 +29,8 @@
 
 void DisplayImpl::destroySurface(egl::Surface *surface)
 {
-    mSurfaceSet.erase(surface);
     surface->onDestroy();
+    mSurfaceSet.erase(surface);
 }
 
 const egl::DisplayExtensions &DisplayImpl::getExtensions() const