summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-23 18:23:57 +0000
committeryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-23 18:23:57 +0000
commit7af3e12becb1c56ed151852ba35712e545506e73 (patch)
tree6e8a5fe059ca4dec648bb76ffeb9205a979a1cda
parentcc308a26d0872f741c04957b68e6e27cb642e8f5 (diff)
downloadchromium_src-7af3e12becb1c56ed151852ba35712e545506e73.zip
chromium_src-7af3e12becb1c56ed151852ba35712e545506e73.tar.gz
chromium_src-7af3e12becb1c56ed151852ba35712e545506e73.tar.bz2
Minor changes to the comments of ResourceTracker and PP_ImageDataFormat.
BUG=none TEST=none R=brettw@chromium.org Review URL: http://codereview.chromium.org/6727028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79156 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--ppapi/c/ppb_image_data.h6
-rw-r--r--webkit/plugins/ppapi/resource_tracker.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/ppapi/c/ppb_image_data.h b/ppapi/c/ppb_image_data.h
index bc014d4..c25615f 100644
--- a/ppapi/c/ppb_image_data.h
+++ b/ppapi/c/ppb_image_data.h
@@ -27,6 +27,11 @@
/**
* PP_ImageDataFormat is an enumeration of the different types of
* image data formats.
+ *
+ * The third part of each enumeration value describes the memory layout from
+ * the lowest address to the highest. For example, BGRA means the B component
+ * is stored in the lowest address, no matter what endianness the platform is
+ * using.
*/
typedef enum {
PP_IMAGEDATAFORMAT_BGRA_PREMUL,
@@ -170,4 +175,3 @@ struct PPB_ImageData {
*/
#endif /* PPAPI_C_PPB_IMAGE_DATA_H_ */
-
diff --git a/webkit/plugins/ppapi/resource_tracker.h b/webkit/plugins/ppapi/resource_tracker.h
index 20f3a2e..100d4af 100644
--- a/webkit/plugins/ppapi/resource_tracker.h
+++ b/webkit/plugins/ppapi/resource_tracker.h
@@ -33,7 +33,7 @@ class Var;
// This class maintains a global list of all live pepper resources. It allows
// us to check resource ID validity and to map them to a specific module.
//
-// This object is threadsafe.
+// This object is NOT threadsafe.
class ResourceTracker {
public:
// Returns the pointer to the singleton object.