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

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

Issue 73293003: Moved setting of visual ordering from DocumentWriter to DecodedDataDocument (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@parserthread_decoderownership
Patch Set: Rebase 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/MediaDocument.cpp
diff --git a/Source/core/html/MediaDocument.cpp b/Source/core/html/MediaDocument.cpp
index ed214bab0cfa62befd4fca3c34caaf2c091cd972..65af26d656e9b262b59a053fa8771078262801a3 100644
--- a/Source/core/html/MediaDocument.cpp
+++ b/Source/core/html/MediaDocument.cpp
@@ -63,7 +63,7 @@ private:
{
}
- virtual size_t appendBytes(const char*, size_t) OVERRIDE;
+ virtual void appendBytes(const char*, size_t) OVERRIDE;
void createDocumentStructure();
@@ -108,14 +108,13 @@ void MediaDocumentParser::createDocumentStructure()
m_didBuildDocumentStructure = true;
}
-size_t MediaDocumentParser::appendBytes(const char*, size_t)
+void MediaDocumentParser::appendBytes(const char*, size_t)
{
if (m_didBuildDocumentStructure)
- return 0;
+ return;
createDocumentStructure();
finish();
- return 0;
}
MediaDocument::MediaDocument(const DocumentInit& initializer)

Powered by Google App Engine
This is Rietveld 408576698