Bug 1496863 - Remove an obsolete comment. r=evilpie
authorJeff Walden <jwalden@mit.edu>
Thu, 04 Oct 2018 14:43:21 -0500
changeset 496833 d912f4d60ea470d68383eb2f011993700bf4f7bf
parent 496832 da12058b40be74451c19a1e4f37436c6bab190d8
child 496834 acd510f0152a9c4624fafa7eceda552be1a6c376
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersevilpie
bugs1496863
milestone64.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 1496863 - Remove an obsolete comment. r=evilpie
js/src/vm/CharacterEncoding.cpp
--- a/js/src/vm/CharacterEncoding.cpp
+++ b/js/src/vm/CharacterEncoding.cpp
@@ -265,19 +265,16 @@ enum class LoopDisposition {
 
 enum class OnUTF8Error {
     InsertReplacementCharacter,
     InsertQuestionMark,
     Throw,
     Crash,
 };
 
-// If making changes to this algorithm, make sure to also update
-// LossyConvertUTF8toUTF16() in dom/wifi/WifiUtils.cpp
-//
 // Scan UTF8 input and (internally, at least) convert it to a series of UTF-16
 // code units. But you can also do odd things like pass an empty lambda for
 // `dst`, in which case the output is discarded entirely--the only effect of
 // calling the template that way is error-checking.
 template <OnUTF8Error ErrorAction, typename OutputFn>
 static bool
 InflateUTF8ToUTF16(JSContext* cx, const UTF8Chars src, OutputFn dst)
 {