Bug 1379280 - Move FocusTarget include from nsIPresShell to PresShell. r=smaug

FocusTarget used to be needed in nsIPresShell, but it was moved to PresShell.

MozReview-Commit-ID: HQFpT9OJaUz

--HG--
extra : rebase_source : ddc29462fc71f8a71dd2419823ddf6f7e92a60ce
This commit is contained in:
Ryan Hunt 2017-07-13 13:00:21 -05:00
Родитель 96c95dcf9e
Коммит 74d75aee90
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -24,6 +24,7 @@
#include "MobileViewportManager.h"
#include "mozilla/Attributes.h"
#include "mozilla/EventForwards.h"
#include "mozilla/layers/FocusTarget.h"
#include "mozilla/MemoryReporting.h"
#include "mozilla/StyleSetHandle.h"
#include "mozilla/UniquePtr.h"
@ -85,6 +86,9 @@ class PresShell final : public nsIPresShell,
public nsIObserver,
public nsSupportsWeakReference
{
protected:
typedef mozilla::layers::FocusTarget FocusTarget;
public:
PresShell();

Просмотреть файл

@ -23,7 +23,6 @@
#include "mozilla/ArenaObjectID.h"
#include "mozilla/EventForwards.h"
#include "mozilla/FlushType.h"
#include "mozilla/layers/FocusTarget.h"
#include "mozilla/MemoryReporting.h"
#include "mozilla/StaticPtr.h"
#include "mozilla/StyleSetHandle.h"
@ -181,7 +180,6 @@ public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPRESSHELL_IID)
protected:
typedef mozilla::layers::FocusTarget FocusTarget;
typedef mozilla::layers::LayerManager LayerManager;
typedef mozilla::gfx::SourceSurface SourceSurface;