Index: Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.cpp |
=================================================================== |
--- Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.cpp (revision 113078) |
+++ Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.cpp (working copy) |
@@ -101,6 +101,8 @@ |
void WebFullScreenManager::exitFullScreenForElement(WebCore::Element* element) |
{ |
+ ASSERT(element); |
+ ASSERT(m_element == element); |
m_page->injectedBundleFullScreenClient().exitFullScreenForElement(m_page.get(), element); |
} |