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

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

Issue 17252002: Rebaseline bindings test results after r152351 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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/V8TestEventTarget.cpp
diff --git a/Source/bindings/tests/results/V8TestEventTarget.cpp b/Source/bindings/tests/results/V8TestEventTarget.cpp
index fa28ef61a2c268a23e55145489a5c04f82dfb383..2c67e762bdbf6a07198e6bbb6f07805f36e07819 100644
--- a/Source/bindings/tests/results/V8TestEventTarget.cpp
+++ b/Source/bindings/tests/results/V8TestEventTarget.cpp
@@ -255,15 +255,14 @@ void V8TestEventTarget::namedPropertyQuery(v8::Local<v8::String> name, const v8:
TestEventTarget* collection = toNative(info.Holder());
AtomicString propertyName = toWebCoreAtomicString(name);
ExceptionCode ec = 0;
- int returnValue = 0;
- bool result = collection->namedPropertyQuery(propertyName, returnValue, ec);
+ bool result = collection->namedPropertyQuery(propertyName, ec);
if (ec) {
setDOMException(ec, info.GetIsolate());
return;
}
if (!result)
return;
- v8SetReturnValueInt(info, 0);
+ v8SetReturnValueInt(info, v8::None);
}
static v8::Handle<v8::FunctionTemplate> ConfigureV8TestEventTargetTemplate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWorldType)
@@ -334,7 +333,6 @@ v8::Handle<v8::Object> V8TestEventTarget::createWrapper(PassRefPtr<TestEventTarg
v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext, &info, impl.get(), isolate);
if (UNLIKELY(wrapper.IsEmpty()))
return wrapper;
-
installPerContextProperties(wrapper, impl.get(), isolate);
V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, WrapperConfiguration::Independent);
return wrapper;
« no previous file with comments | « Source/bindings/tests/results/V8TestEventConstructor.cpp ('k') | Source/bindings/tests/results/V8TestException.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698