зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1355752 - Remove B2G code from PresShell files. r=jrmuizel
MozReview-Commit-ID: FIap9QM0vve --HG-- extra : rebase_source : f80c009d67293b74b4c645f0e013842c6098d8ad
This commit is contained in:
Родитель
4126cab5bb
Коммит
e4081a158f
|
@ -200,10 +200,6 @@
|
|||
#include "mozilla/dom/ImageTracker.h"
|
||||
#include "nsIDocShellTreeOwner.h"
|
||||
|
||||
#ifdef MOZ_B2G
|
||||
#include "nsIHardwareKeyHandler.h"
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_TASK_TRACER
|
||||
#include "GeckoTaskTracer.h"
|
||||
using namespace mozilla::tasktracer;
|
||||
|
@ -6376,7 +6372,7 @@ PresShell::RecordShadowStyleChange(ShadowRoot* aShadowRoot)
|
|||
}
|
||||
|
||||
void
|
||||
PresShell::Paint(nsView* aViewToPaint,
|
||||
PresShell::Paint(nsView* aViewToPaint,
|
||||
const nsRegion& aDirtyRegion,
|
||||
uint32_t aFlags)
|
||||
{
|
||||
|
@ -6425,11 +6421,10 @@ PresShell::Paint(nsView* aViewToPaint,
|
|||
|
||||
nsAutoNotifyDidPaint notifyDidPaint(this, aFlags);
|
||||
|
||||
// Whether or not we should set first paint when painting is
|
||||
// suppressed is debatable. For now we'll do it because
|
||||
// B2G relies on first paint to configure the viewport and
|
||||
// we only want to do that when we have real content to paint.
|
||||
// See Bug 798245
|
||||
// Whether or not we should set first paint when painting is suppressed
|
||||
// is debatable. For now we'll do it because B2G relied on first paint
|
||||
// to configure the viewport and we only want to do that when we have
|
||||
// real content to paint. See Bug 798245
|
||||
if (mIsFirstPaint && !mPaintingSuppressed) {
|
||||
layerManager->SetIsFirstPaint();
|
||||
mIsFirstPaint = false;
|
||||
|
|
|
@ -51,10 +51,6 @@
|
|||
#include "nsFrameState.h"
|
||||
#include "Units.h"
|
||||
|
||||
#ifdef MOZ_B2G
|
||||
#include "nsIHardwareKeyHandler.h"
|
||||
#endif
|
||||
|
||||
class nsDocShell;
|
||||
class nsIDocument;
|
||||
class nsIFrame;
|
||||
|
|
Загрузка…
Ссылка в новой задаче