diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-26 18:06:10 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-26 18:06:10 +0000 |
commit | adb08548d49107d17ccd2caea44c7fc8bc106680 (patch) | |
tree | b04645bbd04bbca91d41a4badad5528e2f29b9ad /cc/resources/picture.cc | |
parent | ab3b99de93676e6b18a0b58d2de141694c2ab79a (diff) | |
download | chromium_src-adb08548d49107d17ccd2caea44c7fc8bc106680.zip chromium_src-adb08548d49107d17ccd2caea44c7fc8bc106680.tar.gz chromium_src-adb08548d49107d17ccd2caea44c7fc8bc106680.tar.bz2 |
This fixes all lint issues (except for false positives) in:
cc/base/
cc/debug/
cc/resources/
cc/quads/
BUG=144577
Review URL: https://codereview.chromium.org/13051003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190715 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resources/picture.cc')
-rw-r--r-- | cc/resources/picture.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cc/resources/picture.cc b/cc/resources/picture.cc index 701d8ac..d3ddc53 100644 --- a/cc/resources/picture.cc +++ b/cc/resources/picture.cc @@ -30,8 +30,7 @@ class DisableLCDTextFilter : public SkDrawFilter { return true; } }; - -} +} // namespace namespace cc { @@ -169,7 +168,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) { + for (size_t i = 0; i < pixel_refs->size() / sizeof(*refs); ++i) { if (*refs && (*refs)->getURI() && !strncmp( (*refs)->getURI(), kLabelLazyDecoded, 4)) { pixel_ref_list.push_back(static_cast<skia::LazyPixelRef*>(*refs)); |