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

Unified Diff: mojo/examples/sample_app/gles2_client_impl.h

Issue 126743002: Make the cube spin in the JS mojo app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: blah Created 6 years, 11 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: mojo/examples/sample_app/gles2_client_impl.h
diff --git a/mojo/examples/sample_app/gles2_client_impl.h b/mojo/examples/sample_app/gles2_client_impl.h
index 300557addb1365517ffc205540792d14a2d3a96e..343da15a2861fa05899b77875327688ef8c8005f 100644
--- a/mojo/examples/sample_app/gles2_client_impl.h
+++ b/mojo/examples/sample_app/gles2_client_impl.h
@@ -33,7 +33,7 @@ class GLES2ClientImpl : public GLES2ClientStub {
void StartTimer();
base::Time last_time_;
- base::RepeatingTimer<GLES2ClientImpl> timer_;
+ base::OneShotTimer<GLES2ClientImpl> timer_;
abarth-chromium 2014/01/07 23:01:04 Is this change intentional?
Aaron Boodman 2014/01/07 23:22:38 Heh, no. Thanks.
SpinningCube cube_;
gfx::PointF capture_point_;
gfx::PointF last_drag_point_;
« mojo/apps/js/mojo_runner_delegate.cc ('K') | « mojo/apps/js/mojo_runner_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698