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

Unified Diff: ppapi/c/ppb_graphics_2d.h

Issue 6278014: Fix comment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppb_graphics_2d.h
===================================================================
--- ppapi/c/ppb_graphics_2d.h (revision 72150)
+++ ppapi/c/ppb_graphics_2d.h (working copy)
@@ -122,9 +122,9 @@
* THE NEW IMAGE WILL NOT BE PAINTED UNTIL YOU CALL FLUSH.
*
* After this call, you should take care to release your references to the
- * image. If you paint to the image after a Swap, there is the possibility of
- * significant painting artifacts because the page might use partially-
- * rendered data when copying out of the backing store.
+ * image. If you paint to the image after ReplaceContents, there is the
+ * possibility of significant painting artifacts because the page might use
+ * partially-rendered data when copying out of the backing store.
*
* In the case of an animation, you will want to allocate a new image for the
* next frame. It is best if you wait until the flush callback has executed
@@ -137,7 +137,7 @@
void (*ReplaceContents)(PP_Resource graphics_2d, PP_Resource image_data);
/**
- * Flushes any enqueued paint, scroll, and swap commands for the backing
+ * Flushes any enqueued paint, scroll, and replace commands for the backing
* store. This actually executes the updates, and causes a repaint of the
* webpage, assuming this graphics context is bound to a plugin instance. This
* can run in two modes:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698