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

Unified Diff: Source/bindings/tests/results/V8TestNode.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: Created 6 years, 4 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/V8TestNode.cpp
diff --git a/Source/bindings/tests/results/V8TestNode.cpp b/Source/bindings/tests/results/V8TestNode.cpp
index 092d0bfef1c2f9d609ffb3412b32a8e6291157f4..936800da44bebbd153a7aca2f070eed4d4d7036c 100644
--- a/Source/bindings/tests/results/V8TestNode.cpp
+++ b/Source/bindings/tests/results/V8TestNode.cpp
@@ -278,10 +278,10 @@ void V8TestNode::derefObject(ScriptWrappableBase* internalPointer)
#endif
}
-PersistentNode* V8TestNode::createPersistentHandle(ScriptWrappableBase* internalPointer)
+WrapperPersistentNode* V8TestNode::createPersistentHandle(ScriptWrappableBase* internalPointer)
{
#if ENABLE(OILPAN)
- return new Persistent<TestNode>(fromInternalPointer(internalPointer));
+ return new WrapperPersistent<TestNode>(fromInternalPointer(internalPointer));
#else
ASSERT_NOT_REACHED();
return 0;

Powered by Google App Engine
This is Rietveld 408576698