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

Unified Diff: client/html/src/WindowWrappingImplementation.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/src/WindowWrappingImplementation.dart
diff --git a/client/html/src/WindowWrappingImplementation.dart b/client/html/src/WindowWrappingImplementation.dart
index f5eaded722fb25b1edbfa4ec81b170c64cea2800..a4f8b9c954f10c66c1af42d722bbbc12e38daf6d 100644
--- a/client/html/src/WindowWrappingImplementation.dart
+++ b/client/html/src/WindowWrappingImplementation.dart
@@ -833,12 +833,7 @@ class WindowWrappingImplementation extends EventTargetWrappingImplementation imp
}
int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, [Element element = null]) {
- if (element === null) {
- return _ptr.webkitRequestAnimationFrame(callback);
- } else {
- return _ptr.webkitRequestAnimationFrame(
- callback, LevelDom.unwrap(element));
- }
+ return _ptr.webkitRequestAnimationFrame(callback, LevelDom.unwrap(element));
}
void requestLayoutFrame(TimeoutHandler callback) {
« no previous file with comments | « client/html/src/SVGElementInstanceWrappingImplementation.dart ('k') | client/html/src/_FactoryProviders.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698