Bug 1339543 part 6 PBrowser::RequestNativeKeyBindings() should retrieves edit commands only for specified type r=smaug
PBrowser::RequestNativeKeyBindings() is used only when somebody tries to execute native key bindings for synthesized keyboard events. Therefore, it doesn't need to retrieve edit commands for all editor types. Instead, it should take the editor type and just return the edit commands for it. MozReview-Commit-ID: HF4Gz99SBQP
This commit is contained in:
@@ -552,7 +552,7 @@ PuppetWidget::GetEditCommands(NativeKeyBindingsType aType,
|
||||
// Validate the arguments.
|
||||
nsIWidget::GetEditCommands(aType, aEvent, aCommands);
|
||||
|
||||
mTabChild->RequestNativeKeyBindings(aType, aEvent, aCommands);
|
||||
mTabChild->RequestEditCommands(aType, aEvent, aCommands);
|
||||
}
|
||||
|
||||
LayerManager*
|
||||
|
||||
Reference in New Issue
Block a user