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

Unified Diff: sdk/lib/math/rectangle.dart

Issue 40983002: Renamed contains in the rectangle class to containsRectangle. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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: sdk/lib/math/rectangle.dart
diff --git a/sdk/lib/math/rectangle.dart b/sdk/lib/math/rectangle.dart
index 763a251b739a2c766eb94d3693723321723bbe8e..0aa52ff79d1e61f707efc98a659124680c505765 100644
--- a/sdk/lib/math/rectangle.dart
+++ b/sdk/lib/math/rectangle.dart
@@ -87,7 +87,7 @@ abstract class _RectangleBase<T extends num> {
/**
* Tests whether `this` entirely contains [another].
*/
- bool contains(Rectangle<num> another) {
+ bool containsRectangle(Rectangle<num> another) {
return left <= another.left &&
left + width >= another.left + another.width &&
top <= another.top &&
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/dom.py » ('j') | tools/dom/dom.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698