зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1110641 - Remove unused variable `minWidth` and "ui.plugin.panel.min-width" pref from widget/cocoa/ComplexTextInputPanel.mm. r=josh
This commit is contained in:
Родитель
44241f0152
Коммит
7e75241954
|
@ -1590,7 +1590,6 @@ pref("network.predictor.max-queue-size", 50);
|
|||
pref("network.predictor.max-db-size", 157286400); // bytes
|
||||
pref("network.predictor.preserve", 80); // percentage of predictor data to keep when cleaning up
|
||||
|
||||
|
||||
// The following prefs pertain to the negotiate-auth extension (see bug 17578),
|
||||
// which provides transparent Kerberos or NTLM authentication using the SPNEGO
|
||||
// protocol. Each pref is a comma-separated list of keys, where each key has
|
||||
|
@ -2618,7 +2617,6 @@ pref("font.size.inflation.lineThreshold", 400);
|
|||
*/
|
||||
pref("font.size.inflation.mappingIntercept", 1);
|
||||
|
||||
|
||||
/*
|
||||
* This controls the percentage that fonts will be inflated, if font
|
||||
* size inflation is enabled. Essentially, if we have a specified font
|
||||
|
@ -3303,9 +3301,6 @@ pref("ui.panel.default_level_parent", false);
|
|||
|
||||
pref("ui.plugin.cancel_composition_at_input_source_changed", false);
|
||||
|
||||
// The min width of composition window for plugins
|
||||
pref("ui.plugin.panel.min-width", 500);
|
||||
|
||||
pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
|
||||
|
||||
// Macbook touchpad two finger pixel scrolling
|
||||
|
@ -3856,7 +3851,6 @@ pref("webgl.angle.force-d3d11", false);
|
|||
pref("gfx.gralloc.fence-with-readpixels", false);
|
||||
#endif
|
||||
|
||||
|
||||
// Stagefright prefs
|
||||
pref("stagefright.force-enabled", false);
|
||||
pref("stagefright.disabled", false);
|
||||
|
|
|
@ -188,7 +188,6 @@ extern "C" OSStatus TSMProcessRawKeyEvent(EventRef anEvent);
|
|||
- (void)adjustTo:(NSPoint)point
|
||||
{
|
||||
NSRect selfRect = [self frame];
|
||||
CGFloat minWidth = static_cast<CGFloat>(Preferences::GetUint("ui.plugin.panel.min-width", 500));
|
||||
NSRect rect = NSMakeRect(point.x,
|
||||
point.y - selfRect.size.height,
|
||||
500,
|
||||
|
|
Загрузка…
Ссылка в новой задаче