Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(420)

Unified Diff: third_party/WebKit/Source/core/html/HTMLVideoElement.cpp

Issue 2743573003: Fix an issue in fullscreen detector when context is destroyed (Closed)
Patch Set: addressed nits Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698