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

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

Issue 138003013: Remove unnecessary maybeDOMWrapper from indexed/named property getters (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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
« no previous file with comments | « Source/bindings/tests/results/V8TestInterface.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/results/V8TestObject.cpp
diff --git a/Source/bindings/tests/results/V8TestObject.cpp b/Source/bindings/tests/results/V8TestObject.cpp
index c3b4130a1e4b7d6d299c245f1c52a9519a272617..d6a048642c9e6f81d04114485e3f22dfd1713840 100644
--- a/Source/bindings/tests/results/V8TestObject.cpp
+++ b/Source/bindings/tests/results/V8TestObject.cpp
@@ -5516,7 +5516,6 @@ static void deprecatedStaticMethodMethodCallback(const v8::FunctionCallbackInfo<
static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info)
{
- ASSERT(V8DOMWrapper::maybeDOMWrapper(info.Holder()));
TestObj* collection = V8TestObject::toNative(info.Holder());
RefPtr<Node> element = collection->item(index);
if (!element)
@@ -5540,7 +5539,6 @@ static void namedPropertyGetter(v8::Local<v8::String> name, const v8::PropertyCa
if (info.Holder()->HasRealNamedProperty(name))
return;
- ASSERT(V8DOMWrapper::maybeDOMWrapper(info.Holder()));
TestObj* collection = V8TestObject::toNative(info.Holder());
AtomicString propertyName = toCoreAtomicString(name);
String element = collection->namedItem(propertyName);
« no previous file with comments | « Source/bindings/tests/results/V8TestInterface.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698