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

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

Issue 553483004: Revert of [oilpan]: optimize the way we allocate persistent handles in wrappers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: merge conflicts Created 6 years, 3 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
« no previous file with comments | « Source/bindings/tests/results/V8TestTypedefs.cpp ('k') | Source/core/inspector/InjectedScriptManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/V8TestTypedefs.cpp ('k') | Source/core/inspector/InjectedScriptManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698