summaryrefslogtreecommitdiffstats
path: root/gpu/demos
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-02 15:58:45 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-02 15:58:45 +0000
commit4eae29d3547aedf0388002a55b640571e6a91b5b (patch)
treee564b735e070ab67c980f39a50dabf60b87e587c /gpu/demos
parent8d54bd6a28c7b81936271b3cf1eb8e9ec768bd26 (diff)
downloadchromium_src-4eae29d3547aedf0388002a55b640571e6a91b5b.zip
chromium_src-4eae29d3547aedf0388002a55b640571e6a91b5b.tar.gz
chromium_src-4eae29d3547aedf0388002a55b640571e6a91b5b.tar.bz2
Fix a bunch more type changes as part of the npapi.h merging
This makes two types of changes - More int* -> int*_t transitions, since npapi.h switched over - Replace TRUE/FALSE, which have been removed from the upstream npapi.h. Since all our usage is C++, true/false seemed cleaner than 1/0. BUG=42645 TEST=Compiling still works Review URL: http://codereview.chromium.org/2484002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48725 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/demos')
-rw-r--r--gpu/demos/framework/main_pepper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/demos/framework/main_pepper.cc b/gpu/demos/framework/main_pepper.cc
index ae28fcc..887c853f 100644
--- a/gpu/demos/framework/main_pepper.cc
+++ b/gpu/demos/framework/main_pepper.cc
@@ -114,7 +114,7 @@ NPError NPP_GetValue(NPP instance, NPPVariable variable, void* value) {
*(static_cast<const char**>(value)) = "Pepper plug-in for GPU demo.";
break;
case NPPVpluginNeedsXEmbed:
- *(static_cast<NPBool*>(value)) = TRUE;
+ *(static_cast<NPBool*>(value)) = true;
break;
#endif
case NPPVpluginScriptableNPObject: {