author | Michael Wu <mwu@mozilla.com> |
Mon, 01 Aug 2011 18:20:52 -0700 | |
changeset 74424 | 74f0c17ba7b36c304bcb109d1a8285eeda44c065 |
parent 74423 | 4319081f6be52fcd00cece76a8cf0264b78bad3e |
child 74425 | d11aaaf51059dc7cd2857b7067faa8c8a101c5f0 |
push id | 235 |
push user | bzbarsky@mozilla.com |
push date | Tue, 27 Sep 2011 17:13:04 +0000 |
treeherder | mozilla-beta@2d1e082d176a [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | roc |
bugs | 675561 |
milestone | 8.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/layout/forms/nsFormControlFrame.cpp +++ b/layout/forms/nsFormControlFrame.cpp @@ -182,17 +182,17 @@ nsFormControlFrame::GetFormProperty(nsIA // static nsRect nsFormControlFrame::GetUsableScreenRect(nsPresContext* aPresContext) { nsRect screen; nsDeviceContext *context = aPresContext->DeviceContext(); - PRBool dropdownCanOverlapOSBar = PR_FALSE; + PRInt32 dropdownCanOverlapOSBar = PR_FALSE; nsILookAndFeel *lookAndFeel = aPresContext->LookAndFeel(); lookAndFeel->GetMetric(nsILookAndFeel::eMetric_MenusCanOverlapOSBar, dropdownCanOverlapOSBar); if ( dropdownCanOverlapOSBar ) context->GetRect(screen); else context->GetClientRect(screen);
--- a/layout/generic/nsGfxScrollFrame.cpp +++ b/layout/generic/nsGfxScrollFrame.cpp @@ -1458,17 +1458,17 @@ nsGfxScrollFrameInner::nsGfxScrollFrameI , mVerticalOverflow(PR_FALSE) , mPostedReflowCallback(PR_FALSE) , mMayHaveDirtyFixedChildren(PR_FALSE) , mUpdateScrollbarAttributes(PR_FALSE) , mCollapsedResizer(PR_FALSE) , mShouldBuildLayer(PR_FALSE) { // lookup if we're allowed to overlap the content from the look&feel object - PRBool canOverlap; + PRInt32 canOverlap; nsPresContext* presContext = mOuter->PresContext(); presContext->LookAndFeel()-> GetMetric(nsILookAndFeel::eMetric_ScrollbarsCanOverlapContent, canOverlap); mScrollbarsCanOverlapContent = canOverlap; mScrollingActive = IsAlwaysActive(); } nsGfxScrollFrameInner::~nsGfxScrollFrameInner()
--- a/layout/xul/base/src/nsMenuPopupFrame.cpp +++ b/layout/xul/base/src/nsMenuPopupFrame.cpp @@ -143,17 +143,17 @@ nsMenuPopupFrame::Init(nsIContent* { nsresult rv = nsBoxFrame::Init(aContent, aParent, aPrevInFlow); NS_ENSURE_SUCCESS(rv, rv); nsPresContext* presContext = PresContext(); // lookup if we're allowed to overlap the OS bar (menubar/taskbar) from the // look&feel object - PRBool tempBool; + PRInt32 tempBool; presContext->LookAndFeel()-> GetMetric(nsILookAndFeel::eMetric_MenusCanOverlapOSBar, tempBool); mMenuCanOverlapOSBar = tempBool; rv = CreatePopupViewForFrame(); NS_ENSURE_SUCCESS(rv, rv); // XXX Hack. The popup's view should float above all other views,
--- a/layout/xul/base/src/nsXULPopupManager.cpp +++ b/layout/xul/base/src/nsXULPopupManager.cpp @@ -2085,17 +2085,17 @@ nsXULPopupManager::IsValidMenuItem(nsPre if (ns == kNameSpaceID_XUL) { if (tag != nsGkAtoms::menu && tag != nsGkAtoms::menuitem) return PR_FALSE; } else if (ns != kNameSpaceID_XHTML || !aOnPopup || tag != nsGkAtoms::option) { return PR_FALSE; } - PRBool skipNavigatingDisabledMenuItem = PR_TRUE; + PRInt32 skipNavigatingDisabledMenuItem = PR_TRUE; if (aOnPopup) { aPresContext->LookAndFeel()-> GetMetric(nsILookAndFeel::eMetric_SkipNavigatingDisabledMenuItem, skipNavigatingDisabledMenuItem); } return !(skipNavigatingDisabledMenuItem && aContent->AttrValueIs(kNameSpaceID_None, nsGkAtoms::disabled,