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

Unified Diff: Source/bindings/v8/ExceptionMessages.h

Issue 173753002: Drop redundant 'ExceptionMessages::failedToXXX' calls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline. Created 6 years, 10 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/v8/ExceptionMessages.h
diff --git a/Source/bindings/v8/ExceptionMessages.h b/Source/bindings/v8/ExceptionMessages.h
index e04a0c2be4e93eb82faeb8927aa0f9302e92ba80..fde8f25e7ebeebb38d46cd9040acf1c730cc12fe 100644
--- a/Source/bindings/v8/ExceptionMessages.h
+++ b/Source/bindings/v8/ExceptionMessages.h
@@ -110,11 +110,11 @@ public:
result.append(" provided (");
result.append(formatNumber(given));
result.append(") is outside the range ");
- result.append(lowerBound == ExclusiveBound ? '(' : '[');
+ result.append(lowerType == ExclusiveBound ? '(' : '[');
result.append(formatNumber(lowerBound));
result.append(", ");
result.append(formatNumber(upperBound));
- result.append(upperBound == ExclusiveBound ? ')' : ']');
+ result.append(upperType == ExclusiveBound ? ')' : ']');
result.append('.');
return result.toString();
}

Powered by Google App Engine
This is Rietveld 408576698