Chromium Code Reviews| Index: Source/core/inspector/InjectedScriptManager.cpp |
| diff --git a/Source/core/inspector/InjectedScriptManager.cpp b/Source/core/inspector/InjectedScriptManager.cpp |
| index c402941d615f59f898c69993e0686d9447713869..20ac374e2d6907e9ce164873a0be5bb68ad665af 100644 |
| --- a/Source/core/inspector/InjectedScriptManager.cpp |
| +++ b/Source/core/inspector/InjectedScriptManager.cpp |
| @@ -42,6 +42,13 @@ |
| namespace blink { |
| +#if ENABLE(OILPAN) |
| +InjectedScriptManager::CallbackData::~CallbackData() |
| +{ |
| + delete hostPtr; |
| +} |
| +#endif |
| + |
| PassOwnPtrWillBeRawPtr<InjectedScriptManager> InjectedScriptManager::createForPage() |
| { |
| return adoptPtrWillBeNoop(new InjectedScriptManager(&InjectedScriptManager::canAccessInspectedWindow)); |