зеркало из https://github.com/mozilla/gecko-dev.git
Bug 929513 Part 6: Some more cleanup r=nical
This commit is contained in:
Родитель
dd0caf5947
Коммит
91d94bff7a
|
@ -8,7 +8,6 @@
|
|||
#include "ClientLayerManager.h" // for ClientLayerManager, etc
|
||||
#include "gfx3DMatrix.h" // for gfx3DMatrix
|
||||
#include "gfxPlatform.h" // for gfxPlatform
|
||||
#include "gfxPoint.h" // for gfxSize
|
||||
#include "gfxRect.h" // for gfxRect
|
||||
#include "mozilla/Assertions.h" // for MOZ_ASSERT, etc
|
||||
#include "mozilla/gfx/BaseSize.h" // for BaseSize
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include "LayerManagerComposite.h" // for LayerManagerComposite, etc
|
||||
#include "Layers.h" // for Layer, ContainerLayer, etc
|
||||
#include "gfxMatrix.h" // for gfxMatrix
|
||||
#include "gfxPoint.h" // for gfxPoint, gfxSize
|
||||
#include "gfxPoint.h" // for gfxPoint
|
||||
#include "gfxPoint3D.h" // for gfxPoint3D
|
||||
#include "mozilla/WidgetUtils.h" // for ComputeTransformForRotation
|
||||
#include "mozilla/gfx/BaseRect.h" // for BaseRect
|
||||
|
@ -656,7 +656,7 @@ AsyncCompositionManager::TransformScrollableLayer(Layer* aLayer, const LayoutDev
|
|||
}
|
||||
oldTransform.Translate(overscrollTranslation);
|
||||
|
||||
gfxSize underZoomScale(1.0f, 1.0f);
|
||||
gfx::Size underZoomScale(1.0f, 1.0f);
|
||||
if (mContentRect.width * userZoom.scale < metrics.mCompositionBounds.width) {
|
||||
underZoomScale.width = (mContentRect.width * userZoom.scale) /
|
||||
metrics.mCompositionBounds.width;
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#define GFX_ThebesLayerComposite_H
|
||||
|
||||
#include "Layers.h" // for Layer (ptr only), etc
|
||||
#include "gfxPoint.h" // for gfxSize
|
||||
#include "gfxRect.h" // for gfxRect
|
||||
#include "mozilla/Attributes.h" // for MOZ_OVERRIDE
|
||||
#include "mozilla/RefPtr.h" // for RefPtr
|
||||
|
|
|
@ -54,10 +54,6 @@ namespace layers {
|
|||
|
||||
using namespace mozilla::gl;
|
||||
|
||||
static inline IntSize ns2gfxSize(const nsIntSize& s) {
|
||||
return IntSize(s.width, s.height);
|
||||
}
|
||||
|
||||
// Draw the given quads with the already selected shader. Texture coordinates
|
||||
// are supplied if the shader requires them.
|
||||
static void
|
||||
|
|
Загрузка…
Ссылка в новой задаче