Bug 1523969 part 20 - Move method definition inline comments to new line in 'parser/'. r=hsivonen
authorRyan Hunt <rhunt@eqrion.net>
Mon, 25 Feb 2019 16:11:34 -0600
changeset 519783 977a0ba7ec7051844703272ddcc5910d112dfc63
parent 519782 76dd23f024d5cac080443bf7872ef7103c429542
child 519784 4ab919dd438b317c9a83e8d6ff69ef020b78c9ce
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershsivonen
bugs1523969
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1523969 part 20 - Move method definition inline comments to new line in 'parser/'. r=hsivonen Differential Revision: https://phabricator.services.mozilla.com/D21121
parser/html/nsHtml5StreamParser.cpp
--- a/parser/html/nsHtml5StreamParser.cpp
+++ b/parser/html/nsHtml5StreamParser.cpp
@@ -1360,17 +1360,18 @@ nsresult nsHtml5StreamParser::OnDataAvai
   }
   // Read directly from response buffer.
   rv = aInStream->ReadSegments(CopySegmentsToParser, this, aLength, &totalRead);
   NS_ENSURE_SUCCESS(rv, rv);
   MOZ_ASSERT(totalRead == aLength);
   return rv;
 }
 
-/* static */ nsresult nsHtml5StreamParser::CopySegmentsToParser(
+/* static */
+nsresult nsHtml5StreamParser::CopySegmentsToParser(
     nsIInputStream* aInStream, void* aClosure, const char* aFromSegment,
     uint32_t aToOffset, uint32_t aCount, uint32_t* aWriteCount) {
   nsHtml5StreamParser* parser = static_cast<nsHtml5StreamParser*>(aClosure);
 
   parser->DoDataAvailable(AsBytes(MakeSpan(aFromSegment, aCount)));
   // Assume DoDataAvailable consumed all available bytes.
   *aWriteCount = aCount;
   return NS_OK;