diff --git a/widget/android/nsWindow.cpp b/widget/android/nsWindow.cpp index e385a27ef55..d137be6830d 100644 --- a/widget/android/nsWindow.cpp +++ b/widget/android/nsWindow.cpp @@ -52,6 +52,7 @@ using mozilla::unused; #include "imgIEncoder.h" #include "nsStringGlue.h" +#include "GeckoProfiler.h" // For PROFILER_LABEL using namespace mozilla; using namespace mozilla::dom; @@ -2392,6 +2393,7 @@ nsWindow::DrawWindowUnderlay(LayerManager* aManager, nsIntRect aRect) void nsWindow::DrawWindowOverlay(LayerManager* aManager, nsIntRect aRect) { + PROFILER_LABEL("nsWindow", "DrawWindowOverlay"); JNIEnv *env = GetJNIForThread(); NS_ABORT_IF_FALSE(env, "No JNI environment at DrawWindowOverlay()!"); if (!env)