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

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

Issue 59233014: Setting HTMLMediaElement.controller does not properly remove the 'mediagroup' content attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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: Source/core/html/HTMLMediaElement.h
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h
index 6fa04cbbed32896a96947ca3d955e99ac07b1add..fb0bc9616c6d50599d57f13f3f7ba13c075a69f8 100644
--- a/Source/core/html/HTMLMediaElement.h
+++ b/Source/core/html/HTMLMediaElement.h
@@ -279,7 +279,7 @@ public:
void setMediaGroup(const String&);
MediaController* controller() const;
- void setController(PassRefPtr<MediaController>);
+ void setController(PassRefPtr<MediaController>); // Resets the MediaGroup and sets the MediaController.
protected:
HTMLMediaElement(const QualifiedName&, Document&, bool);
@@ -298,6 +298,8 @@ protected:
virtual bool isMediaElement() const OVERRIDE { return true; }
+ void setControllerInternal(PassRefPtr<MediaController>);
+
// Restrictions to change default behaviors.
enum BehaviorRestrictionFlags {
NoRestrictions = 0,

Powered by Google App Engine
This is Rietveld 408576698