diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-25 03:29:29 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-25 03:29:29 +0000 |
commit | ed511b8dbf23c216aa87e11e9d49c1e69d82de60 (patch) | |
tree | ff1bdc0c8c74a0357c07847d4f3e9f32190930df /cc/debug | |
parent | 69fc57001ee3a1496830488254710865bc8f52b3 (diff) | |
download | chromium_src-ed511b8dbf23c216aa87e11e9d49c1e69d82de60.zip chromium_src-ed511b8dbf23c216aa87e11e9d49c1e69d82de60.tar.gz chromium_src-ed511b8dbf23c216aa87e11e9d49c1e69d82de60.tar.bz2 |
cc: Fix capitalization style in chromified files.
Style-only change.
Many already-chromified files missed a variable or function name
here and there. This grabs (hopefully) all of them.
For the record, I found these with:
git gs '[^a-zA-Z0-9_>\."][a-jl-z]\+[A-Z][A-Za-z0-9_]*\($\|[ !=;,\.^&*)"]\)'
R=enne
BUG=
Review URL: https://chromiumcodereview.appspot.com/12676029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/debug')
-rw-r--r-- | cc/debug/fake_web_graphics_context_3d.cc | 2 | ||||
-rw-r--r-- | cc/debug/fake_web_graphics_context_3d.h | 22 | ||||
-rw-r--r-- | cc/debug/frame_rate_counter.cc | 2 | ||||
-rw-r--r-- | cc/debug/overdraw_metrics.cc | 6 | ||||
-rw-r--r-- | cc/debug/rendering_stats.h | 2 |
5 files changed, 19 insertions, 15 deletions
diff --git a/cc/debug/fake_web_graphics_context_3d.cc b/cc/debug/fake_web_graphics_context_3d.cc index 0f53255..c626eb1 100644 --- a/cc/debug/fake_web_graphics_context_3d.cc +++ b/cc/debug/fake_web_graphics_context_3d.cc @@ -41,7 +41,7 @@ bool FakeWebGraphicsContext3D::isGLES2Compliant() { bool FakeWebGraphicsContext3D::readBackFramebuffer( unsigned char* pixels, - size_t bufferSize, + size_t buffer_size, WebGLId framebuffer, int width, int height) { diff --git a/cc/debug/fake_web_graphics_context_3d.h b/cc/debug/fake_web_graphics_context_3d.h index 19ed9a7..dc0ea99 100644 --- a/cc/debug/fake_web_graphics_context_3d.h +++ b/cc/debug/fake_web_graphics_context_3d.h @@ -80,10 +80,14 @@ class CC_EXPORT FakeWebGraphicsContext3D : virtual void requestExtensionCHROMIUM(const char*) {} virtual void blitFramebufferCHROMIUM( - WebKit::WGC3Dint srcX0, WebKit::WGC3Dint srcY0, - WebKit::WGC3Dint srcX1, WebKit::WGC3Dint srcY1, - WebKit::WGC3Dint dstX0, WebKit::WGC3Dint dstY0, - WebKit::WGC3Dint dstX1, WebKit::WGC3Dint dstY1, + WebKit::WGC3Dint src_x0, + WebKit::WGC3Dint src_y0, + WebKit::WGC3Dint src_x1, + WebKit::WGC3Dint src_y1, + WebKit::WGC3Dint dst_x0, + WebKit::WGC3Dint dst_y0, + WebKit::WGC3Dint dst_x1, + WebKit::WGC3Dint dst_y1, WebKit::WGC3Dbitfield mask, WebKit::WGC3Denum filter) {} virtual void renderbufferStorageMultisampleCHROMIUM( @@ -160,7 +164,7 @@ class CC_EXPORT FakeWebGraphicsContext3D : WebKit::WGC3Dsizei width, WebKit::WGC3Dsizei height, WebKit::WGC3Dint border, - WebKit::WGC3Dsizei imageSize, + WebKit::WGC3Dsizei image_size, const void* data) {} virtual void compressedTexSubImage2D( WebKit::WGC3Denum target, @@ -170,7 +174,7 @@ class CC_EXPORT FakeWebGraphicsContext3D : WebKit::WGC3Dsizei width, WebKit::WGC3Dsizei height, WebKit::WGC3Denum format, - WebKit::WGC3Dsizei imageSize, + WebKit::WGC3Dsizei image_size, const void* data) {} virtual void copyTexImage2D( WebKit::WGC3Denum target, @@ -194,8 +198,8 @@ class CC_EXPORT FakeWebGraphicsContext3D : virtual void depthFunc(WebKit::WGC3Denum func) {} virtual void depthMask(WebKit::WGC3Dboolean flag) {} virtual void depthRange( - WebKit::WGC3Dclampf zNear, - WebKit::WGC3Dclampf zFar) {} + WebKit::WGC3Dclampf z_near, + WebKit::WGC3Dclampf z_far) {} virtual void detachShader(WebKit::WebGLId program, WebKit::WebGLId shader) {} virtual void disable(WebKit::WGC3Denum cap) {} virtual void disableVertexAttribArray(WebKit::WGC3Duint index) {} @@ -236,7 +240,7 @@ class CC_EXPORT FakeWebGraphicsContext3D : ActiveInfo&); virtual void getAttachedShaders( WebKit::WebGLId program, - WebKit::WGC3Dsizei maxCount, + WebKit::WGC3Dsizei max_count, WebKit::WGC3Dsizei* count, WebKit::WebGLId* shaders) {} virtual WebKit::WGC3Dint getAttribLocation( diff --git a/cc/debug/frame_rate_counter.cc b/cc/debug/frame_rate_counter.cc index d546b10..bcd31b0 100644 --- a/cc/debug/frame_rate_counter.cc +++ b/cc/debug/frame_rate_counter.cc @@ -111,7 +111,7 @@ double FrameRateCounter::GetAverageFPS() const { // the first few swapbuffers happen instantly which skews the statistics // too much for short lived animations. // - // isBadFrameInterval encapsulates the frame too slow/frame too fast logic. + // IsBadFrameInterval encapsulates the frame too slow/frame too fast logic. for (RingBufferType::Iterator it = --ring_buffer_.End(); it && frame_times_total < 1.0; diff --git a/cc/debug/overdraw_metrics.cc b/cc/debug/overdraw_metrics.cc index 0afaa44..b8a382c 100644 --- a/cc/debug/overdraw_metrics.cc +++ b/cc/debug/overdraw_metrics.cc @@ -46,13 +46,13 @@ static inline float PolygonArea(gfx::PointF points[8], int num_points) { // of the resulting polygon. static inline float AreaOfMappedQuad(const gfx::Transform& transform, const gfx::QuadF& quad) { - gfx::PointF clippedQuad[8]; + gfx::PointF clipped_quad[8]; int num_vertices_in_clipped_quad = 0; MathUtil::MapClippedQuad(transform, quad, - clippedQuad, + clipped_quad, num_vertices_in_clipped_quad); - return PolygonArea(clippedQuad, num_vertices_in_clipped_quad); + return PolygonArea(clipped_quad, num_vertices_in_clipped_quad); } void OverdrawMetrics::DidPaint(gfx::Rect painted_rect) { diff --git a/cc/debug/rendering_stats.h b/cc/debug/rendering_stats.h index 33ea2c6..675af68 100644 --- a/cc/debug/rendering_stats.h +++ b/cc/debug/rendering_stats.h @@ -36,7 +36,7 @@ struct CC_EXPORT RenderingStats { RenderingStats(); - // In conjunction with enumerateFields, this allows the embedder to + // In conjunction with EnumerateFields, this allows the embedder to // enumerate the values in this structure without // having to embed references to its specific member variables. This // simplifies the addition of new fields to this type. |