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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.cpp

Issue 1853743005: Oilpan: Remove WillBe types (part 13) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.cpp b/third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.cpp
index 3a4495fe0517ae3c4017a56de62848b2c54ad6cb..5d71c217ca23c04665cbdbf5350054463f657066 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.cpp
@@ -503,40 +503,40 @@ NodeOrNodeList::NodeOrNodeList()
{
}
-PassRefPtrWillBeRawPtr<Node> NodeOrNodeList::getAsNode() const
+Node* NodeOrNodeList::getAsNode() const
{
ASSERT(isNode());
return m_node;
}
-void NodeOrNodeList::setNode(PassRefPtrWillBeRawPtr<Node> value)
+void NodeOrNodeList::setNode(Node* value)
{
ASSERT(isNull());
m_node = value;
m_type = SpecificTypeNode;
}
-NodeOrNodeList NodeOrNodeList::fromNode(PassRefPtrWillBeRawPtr<Node> value)
+NodeOrNodeList NodeOrNodeList::fromNode(Node* value)
{
NodeOrNodeList container;
container.setNode(value);
return container;
}
-PassRefPtrWillBeRawPtr<NodeList> NodeOrNodeList::getAsNodeList() const
+NodeList* NodeOrNodeList::getAsNodeList() const
{
ASSERT(isNodeList());
return m_nodeList;
}
-void NodeOrNodeList::setNodeList(PassRefPtrWillBeRawPtr<NodeList> value)
+void NodeOrNodeList::setNodeList(NodeList* value)
{
ASSERT(isNull());
m_nodeList = value;
m_type = SpecificTypeNodeList;
}
-NodeOrNodeList NodeOrNodeList::fromNodeList(PassRefPtrWillBeRawPtr<NodeList> value)
+NodeOrNodeList NodeOrNodeList::fromNodeList(NodeList* value)
{
NodeOrNodeList container;
container.setNodeList(value);
@@ -562,13 +562,13 @@ void V8NodeOrNodeList::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value
return;
if (V8Node::hasInstance(v8Value, isolate)) {
- RefPtrWillBeRawPtr<Node> cppValue = V8Node::toImpl(v8::Local<v8::Object>::Cast(v8Value));
+ RawPtr<Node> cppValue = V8Node::toImpl(v8::Local<v8::Object>::Cast(v8Value));
impl.setNode(cppValue);
return;
}
if (V8NodeList::hasInstance(v8Value, isolate)) {
- RefPtrWillBeRawPtr<NodeList> cppValue = V8NodeList::toImpl(v8::Local<v8::Object>::Cast(v8Value));
+ RawPtr<NodeList> cppValue = V8NodeList::toImpl(v8::Local<v8::Object>::Cast(v8Value));
impl.setNodeList(cppValue);
return;
}
@@ -1455,20 +1455,20 @@ TestInterfaceWillBeGarbageCollectedOrTestDictionary::TestInterfaceWillBeGarbageC
{
}
-PassRefPtrWillBeRawPtr<TestInterfaceWillBeGarbageCollected> TestInterfaceWillBeGarbageCollectedOrTestDictionary::getAsTestInterfaceWillBeGarbageCollected() const
+TestInterfaceWillBeGarbageCollected* TestInterfaceWillBeGarbageCollectedOrTestDictionary::getAsTestInterfaceWillBeGarbageCollected() const
{
ASSERT(isTestInterfaceWillBeGarbageCollected());
return m_testInterfaceWillBeGarbageCollected;
}
-void TestInterfaceWillBeGarbageCollectedOrTestDictionary::setTestInterfaceWillBeGarbageCollected(PassRefPtrWillBeRawPtr<TestInterfaceWillBeGarbageCollected> value)
+void TestInterfaceWillBeGarbageCollectedOrTestDictionary::setTestInterfaceWillBeGarbageCollected(TestInterfaceWillBeGarbageCollected* value)
{
ASSERT(isNull());
m_testInterfaceWillBeGarbageCollected = value;
m_type = SpecificTypeTestInterfaceWillBeGarbageCollected;
}
-TestInterfaceWillBeGarbageCollectedOrTestDictionary TestInterfaceWillBeGarbageCollectedOrTestDictionary::fromTestInterfaceWillBeGarbageCollected(PassRefPtrWillBeRawPtr<TestInterfaceWillBeGarbageCollected> value)
+TestInterfaceWillBeGarbageCollectedOrTestDictionary TestInterfaceWillBeGarbageCollectedOrTestDictionary::fromTestInterfaceWillBeGarbageCollected(TestInterfaceWillBeGarbageCollected* value)
{
TestInterfaceWillBeGarbageCollectedOrTestDictionary container;
container.setTestInterfaceWillBeGarbageCollected(value);
@@ -1514,7 +1514,7 @@ void V8TestInterfaceWillBeGarbageCollectedOrTestDictionary::toImpl(v8::Isolate*
return;
if (V8TestInterfaceWillBeGarbageCollected::hasInstance(v8Value, isolate)) {
- RefPtrWillBeRawPtr<TestInterfaceWillBeGarbageCollected> cppValue = V8TestInterfaceWillBeGarbageCollected::toImpl(v8::Local<v8::Object>::Cast(v8Value));
+ RawPtr<TestInterfaceWillBeGarbageCollected> cppValue = V8TestInterfaceWillBeGarbageCollected::toImpl(v8::Local<v8::Object>::Cast(v8Value));
impl.setTestInterfaceWillBeGarbageCollected(cppValue);
return;
}

Powered by Google App Engine
This is Rietveld 408576698