Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(748)

Unified Diff: Source/core/inspector/InjectedScriptManager.h

Issue 651713002: Oilpan: DOM wrappers don't need to keep persistent handles (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/inspector/InjectedScriptManager.h
diff --git a/Source/core/inspector/InjectedScriptManager.h b/Source/core/inspector/InjectedScriptManager.h
index f35fb937731b805206562b1cb832e5d8fad30efd..289613a5dbfdb75e063fa28b9780d85da15a3a31 100644
--- a/Source/core/inspector/InjectedScriptManager.h
+++ b/Source/core/inspector/InjectedScriptManager.h
@@ -49,17 +49,8 @@ class InjectedScriptManager : public NoBaseWillBeGarbageCollectedFinalized<Injec
public:
struct CallbackData {
ScopedPersistent<v8::Object> handle;
-#if ENABLE(OILPAN)
- WrapperPersistent<InjectedScriptHost>* hostPtr;
-#else
- RefPtr<InjectedScriptHost> host;
-#endif
+ RefPtrWillBePersistent<InjectedScriptHost> host;
InjectedScriptManager* injectedScriptManager;
-
-#if ENABLE(OILPAN)
- CallbackData() : hostPtr(0) { }
- ~CallbackData();
-#endif
};
static PassOwnPtrWillBeRawPtr<InjectedScriptManager> createForPage();
« no previous file with comments | « Source/bindings/tests/results/modules/V8TestInterface5.cpp ('k') | Source/core/inspector/InjectedScriptManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698