зеркало из https://github.com/mozilla/pjs.git
Fixing build bustage.
This commit is contained in:
Родитель
74bd34b58e
Коммит
17c71ecd8d
|
@ -50,7 +50,7 @@
|
||||||
#include "nsCOMPtr.h"
|
#include "nsCOMPtr.h"
|
||||||
#include "nsMemory.h"
|
#include "nsMemory.h"
|
||||||
#include "nsString.h"
|
#include "nsString.h"
|
||||||
#include "nsArray.h"
|
#include "nsCOMArray.h"
|
||||||
|
|
||||||
#include "nsIGenericFactory.h"
|
#include "nsIGenericFactory.h"
|
||||||
|
|
||||||
|
@ -433,7 +433,7 @@ nsSoftKeyBoard::HandleEvent(nsIDOMEvent* aEvent)
|
||||||
nsCOMPtr<nsIContent> targetContent = do_QueryInterface(target);
|
nsCOMPtr<nsIContent> targetContent = do_QueryInterface(target);
|
||||||
|
|
||||||
|
|
||||||
if (!targetContent || !targetContent->IsContentOfType(nsIContent::eHTML_FORM_CONTROL))
|
if (!targetContent || !targetContent->IsNodeOfType(nsINode::eHTML_FORM_CONTROL))
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
|
||||||
nsCOMPtr<nsIFormControl> formControl(do_QueryInterface(targetContent));
|
nsCOMPtr<nsIFormControl> formControl(do_QueryInterface(targetContent));
|
||||||
|
@ -713,7 +713,7 @@ nsSoftKeyBoard::ShouldOpenKeyboardFor(nsIDOMEvent* aEvent)
|
||||||
nsevent->GetOriginalTarget(getter_AddRefs(target));
|
nsevent->GetOriginalTarget(getter_AddRefs(target));
|
||||||
nsCOMPtr<nsIContent> targetContent = do_QueryInterface(target);
|
nsCOMPtr<nsIContent> targetContent = do_QueryInterface(target);
|
||||||
|
|
||||||
if (targetContent && targetContent->IsContentOfType(nsIContent::eHTML_FORM_CONTROL))
|
if (targetContent && targetContent->IsNodeOfType(nsINode::eHTML_FORM_CONTROL))
|
||||||
{
|
{
|
||||||
nsCOMPtr<nsIFormControl> formControl(do_QueryInterface(targetContent));
|
nsCOMPtr<nsIFormControl> formControl(do_QueryInterface(targetContent));
|
||||||
if (formControl)
|
if (formControl)
|
||||||
|
@ -878,7 +878,7 @@ nsSoftKeyBoardService::Observe(nsISupports *aSubject, const char *aTopic, const
|
||||||
nsCOMPtr<nsIPrefBranch2> prefBranch = do_QueryInterface(aSubject);
|
nsCOMPtr<nsIPrefBranch2> prefBranch = do_QueryInterface(aSubject);
|
||||||
nsXPIDLCString cstr;
|
nsXPIDLCString cstr;
|
||||||
|
|
||||||
const char* pref = NS_ConvertUCS2toUTF8(aData).get();
|
const char* pref = NS_ConvertUTF16toUTF8(aData).get();
|
||||||
|
|
||||||
HandlePref(pref, prefBranch);
|
HandlePref(pref, prefBranch);
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче