Commit 10277159 by Corentin Wallez

Revert "WindowSurfaceCGL: unregister the SwapLayer on destruction"

This reverts commit da66ed62. Change-Id: Ifcef6e06d1f3f30c14f4397d659df6bab857d05d Reviewed-on: https://chromium-review.googlesource.com/322392Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org> Tested-by: 's avatarCorentin Wallez <cwallez@chromium.org>
parent 986d09df
...@@ -177,7 +177,6 @@ WindowSurfaceCGL::~WindowSurfaceCGL() ...@@ -177,7 +177,6 @@ WindowSurfaceCGL::~WindowSurfaceCGL()
if (mSwapLayer != nil) if (mSwapLayer != nil)
{ {
[mSwapLayer removeFromSuperlayer];
[mSwapLayer release]; [mSwapLayer release];
mSwapLayer = nil; mSwapLayer = nil;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment