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

Side by Side Diff: ppapi/examples/compositor/compositor.cc

Issue 2532483003: Replace the term 'poor man' with another phrase (gender-neutral fixit). (Closed)
Patch Set: Respond to review comments. Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Needed on Windows to get |M_PI| from math.h. 5 // Needed on Windows to get |M_PI| from math.h.
6 #ifdef _WIN32 6 #ifdef _WIN32
7 #define _USE_MATH_DEFINES 7 #define _USE_MATH_DEFINES
8 #endif 8 #endif
9 9
10 #include <math.h> 10 #include <math.h>
(...skipping 11 matching lines...) Expand all
22 #include "ppapi/cpp/instance.h" 22 #include "ppapi/cpp/instance.h"
23 #include "ppapi/cpp/module.h" 23 #include "ppapi/cpp/module.h"
24 #include "ppapi/cpp/rect.h" 24 #include "ppapi/cpp/rect.h"
25 #include "ppapi/cpp/var_dictionary.h" 25 #include "ppapi/cpp/var_dictionary.h"
26 #include "ppapi/examples/compositor/spinning_cube.h" 26 #include "ppapi/examples/compositor/spinning_cube.h"
27 #include "ppapi/lib/gl/gles2/gl2ext_ppapi.h" 27 #include "ppapi/lib/gl/gles2/gl2ext_ppapi.h"
28 #include "ppapi/lib/gl/include/GLES2/gl2.h" 28 #include "ppapi/lib/gl/include/GLES2/gl2.h"
29 #include "ppapi/lib/gl/include/GLES2/gl2ext.h" 29 #include "ppapi/lib/gl/include/GLES2/gl2ext.h"
30 #include "ppapi/utility/completion_callback_factory.h" 30 #include "ppapi/utility/completion_callback_factory.h"
31 31
32 // Use assert as a poor-man's CHECK, even in non-debug mode. 32 // Use assert as a makeshift CHECK, even in non-debug mode.
33 // Since <assert.h> redefines assert on every inclusion (it doesn't use 33 // Since <assert.h> redefines assert on every inclusion (it doesn't use
34 // include-guards), make sure this is the last file #include'd in this file. 34 // include-guards), make sure this is the last file #include'd in this file.
35 #undef NDEBUG 35 #undef NDEBUG
36 #include <assert.h> 36 #include <assert.h>
37 #include <stddef.h> 37 #include <stddef.h>
38 #include <stdint.h> 38 #include <stdint.h>
39 39
40 // When compiling natively on Windows, PostMessage can be #define-d to 40 // When compiling natively on Windows, PostMessage can be #define-d to
41 // something else. 41 // something else.
42 #ifdef PostMessage 42 #ifdef PostMessage
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 }; 444 };
445 445
446 } // anonymous namespace 446 } // anonymous namespace
447 447
448 namespace pp { 448 namespace pp {
449 // Factory function for your specialization of the Module object. 449 // Factory function for your specialization of the Module object.
450 Module* CreateModule() { 450 Module* CreateModule() {
451 return new DemoModule(); 451 return new DemoModule();
452 } 452 }
453 } // namespace pp 453 } // namespace pp
OLDNEW
« no previous file with comments | « native_client_sdk/src/examples/api/video_encode/video_encode.cc ('k') | ppapi/examples/gles2/gles2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698