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..87fb06d2d1bea6a7af3358659dea5a237bdd07d5 100644 |
| --- a/Source/core/inspector/InjectedScriptManager.cpp |
| +++ b/Source/core/inspector/InjectedScriptManager.cpp |
| @@ -42,6 +42,14 @@ |
| namespace blink { |
| +#if ENABLE(OILPAN) |
| +InjectedScriptManager::CallbackData::~CallbackData() |
| +{ |
| + if (hostPtr) |
|
Mads Ager (chromium)
2014/09/01 13:52:45
No need to check, delete ignores null ptrs.
wibling-chromium
2014/09/02 11:19:37
Done.
|
| + delete hostPtr; |
| +} |
| +#endif |
| + |
| PassOwnPtrWillBeRawPtr<InjectedScriptManager> InjectedScriptManager::createForPage() |
| { |
| return adoptPtrWillBeNoop(new InjectedScriptManager(&InjectedScriptManager::canAccessInspectedWindow)); |