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

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

Issue 15290002: Rebaseline bindings test results after r150554. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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/V8TestInterface.cpp
diff --git a/Source/bindings/tests/results/V8TestInterface.cpp b/Source/bindings/tests/results/V8TestInterface.cpp
index df73918a2ceb142823b313f8f83892b060fa01f4..3c147cf475450994ed380a15e3a2e896cb1ab482 100644
--- a/Source/bindings/tests/results/V8TestInterface.cpp
+++ b/Source/bindings/tests/results/V8TestInterface.cpp
@@ -530,13 +530,13 @@ v8::Handle<v8::Value> V8TestInterface::namedPropertyGetter(v8::Local<v8::String>
ASSERT(V8DOMWrapper::maybeDOMWrapper(info.Holder()));
TestInterface* collection = toNative(info.Holder());
AtomicString propertyName = toWebCoreAtomicString(name);
- RefPtr<Node> elementMember1;
- RefPtr<NodeList> elementMember2;
- collection->getItem(propertyName, elementMember1, elementMember2);
- if (!!elementMember1)
- return toV8Fast(elementMember1.release(), info, collection);
- if (!!elementMember2)
- return toV8Fast(elementMember2.release(), info, collection);
+ RefPtr<Node> element0;
+ RefPtr<NodeList> element1;
+ collection->getItem(propertyName, element0, element1);
+ if (!!element0)
+ return toV8Fast(element0.release(), info, collection);
+ if (!!element1)
+ return toV8Fast(element1.release(), info, collection);
return v8Undefined();
}
« no previous file with comments | « Source/bindings/tests/results/V8TestEventTarget.cpp ('k') | Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698