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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.h

Issue 2905233002: Remove the lifetime hack in ImageLoader where it keeps its assoc element alive (Closed)
Patch Set: Leak Expectation Created 3 years, 7 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/HTMLMediaElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.h b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
index 563d26bb06722690d391ac68946b168884d883a8..e530558dc279e76b1a9101ec397ba5ecd0ea6e1c 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
@@ -338,6 +338,10 @@ class CORE_EXPORT HTMLMediaElement
~HTMLMediaElement() override;
void Dispose();
+ // Returns true if HasPendingActivity() should be true for
+ // subclass-specific reasons.
+ virtual bool HasPendingActivityInternal() const { return false; }
kouhei (in TOK) 2017/05/29 05:27:34 Why is this needed? HTMLVideoElement inherits from
hiroshige 2017/05/29 10:37:00 I did so in Patch Set 2 but it didn't work, perhap
hiroshige 2017/05/30 08:57:06 According to offline discussion with kouhei@, I mo
+
void ParseAttribute(const AttributeModificationParams&) override;
void FinishParsingChildren() final;
bool IsURLAttribute(const Attribute&) const override;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLInputElement.idl ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698