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

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

Issue 22645014: Merge WebKit r153448 (Optimizes the number of updateTextTrackDisplay calls) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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
« no previous file with comments | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | Source/core/html/HTMLMediaElement.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMediaElement.h
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h
index bbc957d457358843a8510fca927c4d51c2958311..46cafe8d399d4201915a670bfdbb78abce5f2aa4 100644
--- a/Source/core/html/HTMLMediaElement.h
+++ b/Source/core/html/HTMLMediaElement.h
@@ -232,7 +232,11 @@ public:
void configureTextTrackGroup(const TrackGroup&);
bool textTracksAreReady() const;
- void configureTextTrackDisplay();
+ enum ConfigureTextTrackDisplayFlags {
+ DoNotAssumeVisibleTextTracksChanged,
acolwell GONE FROM CHROMIUM 2013/08/12 20:19:02 nit: Flags doesn't seem appropriate here since the
vcarbune.chromium 2013/08/19 22:20:12 Done. Minimally, this could have been a boolean pa
+ AssumeVisibleTextTracksChanged
+ };
+ void configureTextTrackDisplay(ConfigureTextTrackDisplayFlags = DoNotAssumeVisibleTextTracksChanged);
acolwell GONE FROM CHROMIUM 2013/08/12 20:19:02 nit: Do you really need the default argument value
vcarbune.chromium 2013/08/19 22:20:12 No, explicitly passed it at each function call.
void updateTextTrackDisplay();
// TextTrackClient
« no previous file with comments | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | Source/core/html/HTMLMediaElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698