summaryrefslogtreecommitdiffstats
path: root/content/common
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-04 22:21:26 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-04 22:21:26 +0000
commit0a8d4275e94f160a53df92b8f9af2605b640c8f2 (patch)
tree09c723f7f266e85870319aea3073ee9679198ae8 /content/common
parent954bdb527e04da11fd31da6069231874a62954e9 (diff)
downloadchromium_src-0a8d4275e94f160a53df92b8f9af2605b640c8f2.zip
chromium_src-0a8d4275e94f160a53df92b8f9af2605b640c8f2.tar.gz
chromium_src-0a8d4275e94f160a53df92b8f9af2605b640c8f2.tar.bz2
Cleanup: Fix some lint errors in content/.
Review URL: https://chromiumcodereview.appspot.com/11740038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175210 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r--content/common/gamepad_hardware_buffer.h2
-rw-r--r--content/common/gpu/client/gl_helper.cc3
-rw-r--r--content/common/gpu/client/gl_helper.h1
-rw-r--r--content/common/zygote_commands_linux.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/content/common/gamepad_hardware_buffer.h b/content/common/gamepad_hardware_buffer.h
index 133b751..b3e8c2a 100644
--- a/content/common/gamepad_hardware_buffer.h
+++ b/content/common/gamepad_hardware_buffer.h
@@ -30,4 +30,4 @@ struct GamepadHardwareBuffer {
} // namespace content
-#endif // CONTENT_COMMON_GAMEPAD_HARDWARE_BUFFER_H_
+#endif // CONTENT_COMMON_GAMEPAD_HARDWARE_BUFFER_H_
diff --git a/content/common/gpu/client/gl_helper.cc b/content/common/gpu/client/gl_helper.cc
index d41c55a..a8e1290 100644
--- a/content/common/gpu/client/gl_helper.cc
+++ b/content/common/gpu/client/gl_helper.cc
@@ -208,7 +208,7 @@ class ScopedTextureBinder : ScopedBinder<target> {
class ScopedFlush {
public:
- ScopedFlush(WebGraphicsContext3D* context)
+ explicit ScopedFlush(WebGraphicsContext3D* context)
: context_(context) {
}
@@ -789,7 +789,6 @@ void GLHelper::InitCopyTextToImpl() {
copy_texture_to_impl_.reset(new CopyTextureToImpl(context_,
context_for_thread_,
this));
-
}
void GLHelper::CopySubBufferDamage(WebKit::WebGLId texture,
diff --git a/content/common/gpu/client/gl_helper.h b/content/common/gpu/client/gl_helper.h
index 22f4662..0746afc 100644
--- a/content/common/gpu/client/gl_helper.h
+++ b/content/common/gpu/client/gl_helper.h
@@ -74,6 +74,7 @@ class GLHelper {
WebKit::WebGLId previous_texture,
const SkRegion& new_damage,
const SkRegion& old_damage);
+
private:
class CopyTextureToImpl;
diff --git a/content/common/zygote_commands_linux.h b/content/common/zygote_commands_linux.h
index 53b3dfd..6df1fda 100644
--- a/content/common/zygote_commands_linux.h
+++ b/content/common/zygote_commands_linux.h
@@ -35,7 +35,7 @@ enum {
// Reap a renderer child.
kZygoteCommandReap = 1,
- // Check what happend to a child process.
+ // Check what happened to a child process.
kZygoteCommandGetTerminationStatus = 2,
// Read a bitmask of kSandboxLinux*