blob: ccf20f301e2e8d57591e04c765d84962d5aa5c3f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#pragma once
#include "root.h"
#include "ScriptExecutionContext.h"
namespace WebCore {
// TODO:
class ContextDestructionObserver {
public:
WEBCORE_EXPORT void contextDestroyed() {}
ScriptExecutionContext* scriptExecutionContext() const { return m_context; }
ContextDestructionObserver(ScriptExecutionContext* context)
: m_context(context)
{
}
ContextDestructionObserver(ContextDestructionObserver& context)
: m_context(context.m_context)
{
}
private:
int m_junk = 0;
ScriptExecutionContext* m_context;
};
}
|