Bug 660771 part.2 remove unnecessary code r=mrbkap
authorMasayuki Nakano <masayuki@d-toybox.com>
Wed, 15 Jun 2011 14:14:43 +0900
changeset 71116 bf50cdd9ba999bba03f1fcf9da1cdbea440f07d3
parent 71115 b9ee105d755c55e0a0ae96b766e88f4afe4bd63e
child 71117 6b23b52e68d654a42a6da120a15bffcf96eea051
push id20492
push usermbrubeck@mozilla.com
push dateWed, 15 Jun 2011 15:27:17 +0000
treeherdermozilla-central@c5c43b538771 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmrbkap
bugs660771
milestone7.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 660771 part.2 remove unnecessary code r=mrbkap
parser/htmlparser/src/nsViewSourceHTML.cpp
--- a/parser/htmlparser/src/nsViewSourceHTML.cpp
+++ b/parser/htmlparser/src/nsViewSourceHTML.cpp
@@ -191,19 +191,16 @@ static const char* const kDumpFileAfterT
  *  Default constructor
  *
  *  @update  gess 4/9/98
  *  @param
  *  @return
  */
 CViewSourceHTML::CViewSourceHTML()
 {
-  mSyntaxHighlight = PR_FALSE;
-  mWrapLongLines = PR_FALSE;
-  mTabSize = -1;
   mSyntaxHighlight =
     Preferences::GetBool("view_source.syntax_highlight", PR_TRUE);
 
   mWrapLongLines = Preferences::GetBool("view_source.wrap_long_lines", PR_FALSE);
 
   mTabSize = Preferences::GetInt("view_source.tab_size", -1);
 
   mSink = 0;