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

Unified Diff: Source/bindings/tests/results/V8TestInterfaceNode.cpp

Issue 525353002: [oilpan]: optimize the way we allocate persistent handles in wrappers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review feedback 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
Index: Source/bindings/tests/results/V8TestInterfaceNode.cpp
diff --git a/Source/bindings/tests/results/V8TestInterfaceNode.cpp b/Source/bindings/tests/results/V8TestInterfaceNode.cpp
index f8fb85f300f184a5b812d70a01a45cbc09e9f300..147384d12432ed73057ee5c942110c0849f9c85a 100644
--- a/Source/bindings/tests/results/V8TestInterfaceNode.cpp
+++ b/Source/bindings/tests/results/V8TestInterfaceNode.cpp
@@ -389,10 +389,10 @@ void V8TestInterfaceNode::derefObject(ScriptWrappableBase* internalPointer)
#endif
}
-PersistentNode* V8TestInterfaceNode::createPersistentHandle(ScriptWrappableBase* internalPointer)
+WrapperPersistentNode* V8TestInterfaceNode::createPersistentHandle(ScriptWrappableBase* internalPointer)
{
#if ENABLE(OILPAN)
- return new Persistent<TestInterfaceNode>(fromInternalPointer(internalPointer));
+ return new WrapperPersistent<TestInterfaceNode>(fromInternalPointer(internalPointer));
#else
ASSERT_NOT_REACHED();
return 0;

Powered by Google App Engine
This is Rietveld 408576698