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

Unified Diff: client/html/generated/src/wrapping/_PointWrappingImplementation.dart

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos Created 9 years 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: client/html/generated/src/wrapping/_PointWrappingImplementation.dart
diff --git a/client/html/generated/src/wrapping/_PointWrappingImplementation.dart b/client/html/generated/src/wrapping/_PointWrappingImplementation.dart
index 85cac8a881565901a468f8917ad308f2c60665ab..908e1f79b34cd35a839975a0417144396548fb63 100644
--- a/client/html/generated/src/wrapping/_PointWrappingImplementation.dart
+++ b/client/html/generated/src/wrapping/_PointWrappingImplementation.dart
@@ -6,6 +6,9 @@
class PointWrappingImplementation extends DOMWrapperBase implements Point {
PointWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
+ factory PointWrappingImplementation(num x, num y) {
+ return LevelDom.wrapPoint(new dom.WebKitPoint(x, y));
+ }
num get x() { return _ptr.x; }

Powered by Google App Engine
This is Rietveld 408576698