Issue UXP#2053: fix deprots

This commit is contained in:
roytam1 2023-04-12 10:35:49 +08:00
commit 5a74c0114b
3 changed files with 10 additions and 0 deletions

View file

@ -3,11 +3,16 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "Performance.h"
#include "PerformanceMark.h"
#include "MainThreadUtils.h"
#include "mozilla/HoldDropJSObjects.h"
#include "mozilla/dom/PerformanceBinding.h"
#include "mozilla/dom/PerformanceMarkBinding.h"
#include "mozilla/dom/MessagePortBinding.h"
#include "nsContentUtils.h"
using mozilla::ErrorResult;
using mozilla::dom::StructuredSerializeOptions;
using namespace mozilla::dom;

View file

@ -8,9 +8,13 @@
#include "mozilla/dom/PerformanceEntry.h"
class nsIGlobalObject;
namespace mozilla {
class ErrorResult;
namespace dom {
class GlobalObject;
struct PerformanceMarkOptions;
// http://www.w3.org/TR/user-timing/#performancemark

View file

@ -5,6 +5,7 @@
#include "PerformanceMeasure.h"
#include "MainThreadUtils.h"
#include "mozilla/HoldDropJSObjects.h"
#include "mozilla/dom/PerformanceMeasureBinding.h"
using namespace mozilla::dom;