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

Unified Diff: Source/modules/mediasource/SourceBuffer.cpp

Issue 1326373002: Rename WebSourceBuffer::abort -> resetParserState (Blink) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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 | public/platform/WebSourceBuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediasource/SourceBuffer.cpp
diff --git a/Source/modules/mediasource/SourceBuffer.cpp b/Source/modules/mediasource/SourceBuffer.cpp
index 772b33fd07da59b8e0537925e09b290d51ad1302..8fd372b3828116feafc822f744745904abcf2f83 100644
--- a/Source/modules/mediasource/SourceBuffer.cpp
+++ b/Source/modules/mediasource/SourceBuffer.cpp
@@ -320,7 +320,7 @@ void SourceBuffer::abort(ExceptionState& exceptionState)
abortIfUpdating();
// 4. Run the reset parser state algorithm.
- m_webSourceBuffer->abort();
+ m_webSourceBuffer->resetParserState();
// 5. Set appendWindowStart to 0.
setAppendWindowStart(0, exceptionState);
@@ -773,7 +773,7 @@ void SourceBuffer::appendError(bool decodeError)
// https://dvcs.w3.org/hg/html-media/raw-file/default/media-source/media-source.html#sourcebuffer-append-error
// 1. Run the reset parser state algorithm.
- m_webSourceBuffer->abort();
+ m_webSourceBuffer->resetParserState();
// 2. Set the updating attribute to false.
m_updating = false;
« no previous file with comments | « no previous file | public/platform/WebSourceBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698