Bug 926580 - Kill unused layout.enable_japanese_specific_transform pref. r=roc

This commit is contained in:
Masatoshi Kimura 2013-10-15 19:48:48 +09:00
Родитель 9c47806b5c
Коммит bd200be110
4 изменённых файлов: 0 добавлений и 18 удалений

Просмотреть файл

@ -741,10 +741,6 @@ nsPresContext::GetUserPreferences()
mUseDocumentFonts =
Preferences::GetInt("browser.display.use_document_fonts") != 0;
// * replace backslashes with Yen signs? (bug 245770)
mEnableJapaneseTransform =
Preferences::GetBool("layout.enable_japanese_specific_transform");
mPrefScrollbarSide = Preferences::GetInt("layout.scrollbar.side");
ResetCachedFontPrefs();

Просмотреть файл

@ -1247,7 +1247,6 @@ protected:
unsigned mPaginated : 1;
unsigned mCanPaginatedScroll : 1;
unsigned mDoScaledTwips : 1;
unsigned mEnableJapaneseTransform : 1;
unsigned mIsRootPaginatedDocument : 1;
unsigned mPrefBidiDirection : 1;
unsigned mPrefScrollbarSide : 2;

Просмотреть файл

@ -12,14 +12,6 @@
#include "nsTextFragment.h"
#include <algorithm>
// XXX TODO implement transform of backslash to yen that nsTextTransform does
// when requested by PresContext->LanguageSpecificTransformType(). Do it with
// a new factory type that just munges the input stream. But first, check
// that we really still need this, it's only enabled via a hidden pref
// which defaults false...
#define UNICODE_ZWSP 0x200B
static bool IsDiscardable(PRUnichar ch, uint32_t* aFlags)
{
// Unlike IS_DISCARDABLE, we don't discard \r. \r will be ignored by gfxTextRun

Просмотреть файл

@ -1810,11 +1810,6 @@ pref("layout.word_select.stop_at_punctuation", true);
// Windows default is 1 for word delete behavior, the rest as for 2.
pref("layout.selection.caret_style", 0);
// pref to control whether or not to replace backslashes with Yen signs
// in documents encoded in one of Japanese legacy encodings (EUC-JP,
// Shift_JIS, ISO-2022-JP)
pref("layout.enable_japanese_specific_transform", false);
// pref to force frames to be resizable
pref("layout.frames.force_resizability", false);