Index: third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
index 9b915b95dd7d202ecce9b1fc70ecf556e1fd6bf5..f0c93fd8584c1bfad56cb8d4cb5ca9dc7dd233c4 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
@@ -76,6 +76,11 @@ DEFINE_TRACE(HTMLVideoElement) { |
HTMLMediaElement::trace(visitor); |
} |
+void HTMLVideoElement::contextDestroyed(ExecutionContext* context) { |
+ m_customControlsFullscreenDetector->contextDestroyed(); |
+ HTMLMediaElement::contextDestroyed(context); |
+} |
+ |
bool HTMLVideoElement::layoutObjectIsNeeded(const ComputedStyle& style) { |
return HTMLElement::layoutObjectIsNeeded(style); |
} |