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

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

Issue 828413005: Stop pretending MediaControls::initializeControls() will fail (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 5 years, 11 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/shadow/MediaControls.h » ('j') | Source/core/html/shadow/MediaControls.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMediaElement.cpp
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
index 2abdc36a09c964a95c2230743f09eb291c2339ff..8dec65814ade48a2e35f8a1448899785b1405323 100644
--- a/Source/core/html/HTMLMediaElement.cpp
+++ b/Source/core/html/HTMLMediaElement.cpp
@@ -3768,8 +3768,6 @@ bool HTMLMediaElement::createMediaControls()
return true;
RefPtrWillBeRawPtr<MediaControls> mediaControls = MediaControls::create(*this);
- if (!mediaControls)
- return false;
philipj_slow 2015/01/14 19:19:08 HTMLMediaElement::createMediaControls() now always
fs 2015/01/15 09:15:31 I had a follow up to do that, I guess I can includ
philipj_slow 2015/01/15 09:43:01 Separately is fine.
mediaControls->reset();
if (isFullscreen())
« no previous file with comments | « no previous file | Source/core/html/shadow/MediaControls.h » ('j') | Source/core/html/shadow/MediaControls.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698