Bug 1363278 Get rid of nsIPhonetic and HTMLInputElement.phonetic r=smaug
Nobody uses them anymore. Therefore, we can remove them from the tree. MozReview-Commit-ID: KTqCeI2eeFW
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
#include "nsCSSPseudoElements.h"
|
||||
#include "nsGenericHTMLElement.h"
|
||||
#include "nsIEditor.h"
|
||||
#include "nsIPhonetic.h"
|
||||
#include "nsTextFragment.h"
|
||||
#include "nsIDOMHTMLTextAreaElement.h"
|
||||
#include "nsNameSpaceManager.h"
|
||||
@@ -1097,22 +1096,6 @@ nsTextControlFrame::GetText(nsString& aText)
|
||||
}
|
||||
|
||||
|
||||
nsresult
|
||||
nsTextControlFrame::GetPhonetic(nsAString& aPhonetic)
|
||||
{
|
||||
aPhonetic.Truncate(0);
|
||||
|
||||
nsCOMPtr<nsIEditor> editor;
|
||||
nsresult rv = GetEditor(getter_AddRefs(editor));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
nsCOMPtr<nsIPhonetic> phonetic = do_QueryInterface(editor);
|
||||
if (phonetic) {
|
||||
phonetic->GetPhonetic(aPhonetic);
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
///END NSIFRAME OVERLOADS
|
||||
/////BEGIN PROTECTED METHODS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user