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

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

Issue 419523004: IDL: Partial revert of r178934 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/V8TestInterfaceNamedConstructor2.cpp
diff --git a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp
index 09e81a3d06b2749f912e69a56ff4e361d13aaee8..b669a7fedbc78479e187ea085dd073e29640d848 100644
--- a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp
+++ b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp
@@ -58,7 +58,7 @@ static void V8TestInterfaceNamedConstructor2ConstructorCallback(const v8::Functi
v8SetReturnValue(info, info.Holder());
return;
}
- if (info.Length() < 1) {
+ if (UNLIKELY(info.Length() < 1)) {
throwMinimumArityTypeErrorForConstructor("TestInterfaceNamedConstructor2", 1, info.Length(), info.GetIsolate());
return;
}

Powered by Google App Engine
This is Rietveld 408576698