Index: Source/core/frame/FrameDestructionObserver.cpp |
diff --git a/Source/core/frame/FrameDestructionObserver.cpp b/Source/core/frame/FrameDestructionObserver.cpp |
index 8c1d4fc2d64f5c995e85eea65f3a046750fca2c0..4d755f15a14294705633eb6f63f6e2134030e3c3 100644 |
--- a/Source/core/frame/FrameDestructionObserver.cpp |
+++ b/Source/core/frame/FrameDestructionObserver.cpp |
@@ -54,10 +54,12 @@ |
m_frame->addDestructionObserver(this); |
} |
+#if !ENABLE(OILPAN) |
void FrameDestructionObserver::frameDestroyed() |
{ |
m_frame = nullptr; |
} |
+#endif |
void FrameDestructionObserver::willDetachFrameHost() |
{ |