summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-22 00:19:09 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-22 00:19:09 +0000
commit6c3298ea2944e03bec044ff004f73a2ad0ce7b92 (patch)
tree15c2584225429ce5e9c3a06f71e31a10bbbf558e /ppapi
parent5c19e8b6924c4caff5d136653ced6c9fc76391e0 (diff)
downloadchromium_src-6c3298ea2944e03bec044ff004f73a2ad0ce7b92.zip
chromium_src-6c3298ea2944e03bec044ff004f73a2ad0ce7b92.tar.gz
chromium_src-6c3298ea2944e03bec044ff004f73a2ad0ce7b92.tar.bz2
Fix comment.
TBR=brettw Review URL: http://codereview.chromium.org/6278014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72242 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/c/ppb_graphics_2d.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ppapi/c/ppb_graphics_2d.h b/ppapi/c/ppb_graphics_2d.h
index 8a166a7..c0a4225 100644
--- a/ppapi/c/ppb_graphics_2d.h
+++ b/ppapi/c/ppb_graphics_2d.h
@@ -122,9 +122,9 @@ struct PPB_Graphics2D {
* 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 @@ struct PPB_Graphics2D {
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: