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

Unified Diff: native_client_sdk/src/examples/demo/life/example.js

Issue 15011003: ppapi_simple (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restore images Created 7 years, 7 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: native_client_sdk/src/examples/demo/life/example.js
diff --git a/native_client_sdk/src/examples/demo/pi_generator/example.js b/native_client_sdk/src/examples/demo/life/example.js
similarity index 69%
copy from native_client_sdk/src/examples/demo/pi_generator/example.js
copy to native_client_sdk/src/examples/demo/life/example.js
index dfc77467a41061f074de90d0a18823bad139f16d..0afee49e50388c5bd1f76d472f7f745d1738ae16 100644
--- a/native_client_sdk/src/examples/demo/pi_generator/example.js
+++ b/native_client_sdk/src/examples/demo/life/example.js
@@ -2,15 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Start up the paint timer when the NaCl module has loaded.
-function moduleDidLoad() {
- setInterval(postPaintMessage, 5);
-}
-
-function postPaintMessage() {
- common.naclModule.postMessage('paint');
-}
-
// Handle a message coming from the NaCl module. The message payload is
// assumed to contain the current estimated value of Pi. Update the Pi
// text display with this value.

Powered by Google App Engine
This is Rietveld 408576698