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

Unified Diff: cc/resources/picture.cc

Issue 12676029: cc: Fix capitalization style in chromified files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/picture.h ('k') | cc/resources/picture_pile_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture.cc
diff --git a/cc/resources/picture.cc b/cc/resources/picture.cc
index 8ec6e9862128da24ee7612d60baa4b6a17008dec..701d8ac6443e92e9c2534857682b03cfead457e7 100644
--- a/cc/resources/picture.cc
+++ b/cc/resources/picture.cc
@@ -17,7 +17,7 @@
namespace {
// URI label for a lazily decoded SkPixelRef.
-const char labelLazyDecoded[] = "lazy";
+const char kLabelLazyDecoded[] = "lazy";
class DisableLCDTextFilter : public SkDrawFilter {
public:
@@ -81,15 +81,15 @@ void Picture::CloneForDrawing(int num_threads) {
void Picture::Record(ContentLayerClient* painter,
RenderingStats* stats,
- const SkTileGridPicture::TileGridInfo& tileGridInfo) {
+ const SkTileGridPicture::TileGridInfo& tile_grid_info) {
TRACE_EVENT2("cc", "Picture::Record",
"width", layer_rect_.width(), "height", layer_rect_.height());
// Record() should only be called once.
DCHECK(!picture_);
- DCHECK(!tileGridInfo.fTileInterval.isEmpty());
+ DCHECK(!tile_grid_info.fTileInterval.isEmpty());
picture_ = skia::AdoptRef(new SkTileGridPicture(
- layer_rect_.width(), layer_rect_.height(), tileGridInfo));
+ layer_rect_.width(), layer_rect_.height(), tile_grid_info));
SkCanvas* canvas = picture_->beginRecording(
layer_rect_.width(),
@@ -171,7 +171,7 @@ void Picture::GatherPixelRefs(const gfx::Rect& layer_rect,
SkPixelRef** refs = reinterpret_cast<SkPixelRef**>(data);
for (unsigned int i = 0; i < pixel_refs->size() / sizeof(SkPixelRef*); ++i) {
if (*refs && (*refs)->getURI() && !strncmp(
- (*refs)->getURI(), labelLazyDecoded, 4)) {
+ (*refs)->getURI(), kLabelLazyDecoded, 4)) {
pixel_ref_list.push_back(static_cast<skia::LazyPixelRef*>(*refs));
}
refs++;
« no previous file with comments | « cc/resources/picture.h ('k') | cc/resources/picture_pile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698