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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h

Issue 2856993002: Fix comments after Blink rename (Closed)
Patch Set: Re-aligning comment Created 3 years, 8 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
Index: third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h
index bcec03e5bb367089cba89c20ea863ee38fc8dbee..d42a53ae28703f2703d5a864a0cdc61f9680ff6e 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h
@@ -54,7 +54,7 @@ class PLATFORM_EXPORT ICOImageDecoder final : public ImageDecoder {
IntSize FrameSizeAtIndex(size_t) const override;
bool SetSize(unsigned width, unsigned height) override;
bool FrameIsCompleteAtIndex(size_t) const override;
- // CAUTION: setFailed() deletes all readers and decoders. Be careful to
+ // CAUTION: SetFailed() deletes all readers and decoders. Be careful to
// avoid accessing deleted memory, especially when calling this from
// inside BMPImageReader!
bool SetFailed() override;
@@ -114,7 +114,7 @@ class PLATFORM_EXPORT ICOImageDecoder final : public ImageDecoder {
// If the desired PNGImageDecoder exists, gives it the appropriate data.
void SetDataForPNGDecoderAtIndex(size_t);
- // Decodes the entry at |index|. If |onlySize| is true, stops decoding
+ // Decodes the entry at |index|. If |only_size| is true, stops decoding
// after calculating the image size. If decoding fails but there is no
// more data coming, sets the "decode failure" flag.
void Decode(size_t index, bool only_size);
@@ -136,7 +136,7 @@ class PLATFORM_EXPORT ICOImageDecoder final : public ImageDecoder {
// could be decoded.
bool ProcessDirectoryEntries();
- // Stores the hot-spot for |index| in |hotSpot| and returns true,
+ // Stores the hot-spot for |index| in |hot_spot| and returns true,
// or returns false if there is none.
bool HotSpotAtIndex(size_t index, IntPoint& hot_spot) const;
@@ -150,7 +150,7 @@ class PLATFORM_EXPORT ICOImageDecoder final : public ImageDecoder {
FastSharedBufferReader fast_reader_;
- // An index into |m_data| representing how much we've already decoded.
+ // An index into |data_| representing how much we've already decoded.
// Note that this only tracks data _this_ class decodes; once the
// BMPImageReader takes over this will not be updated further.
size_t decoded_offset_;
@@ -163,7 +163,7 @@ class PLATFORM_EXPORT ICOImageDecoder final : public ImageDecoder {
IconDirectoryEntries dir_entries_;
// Count of directory entries is parsed from header before initializing
- // m_dirEntries. m_dirEntries is populated only when full header
+ // dir_entries_. dir_entries_ is populated only when full header
// information including directory entries is available.
size_t dir_entries_count_;

Powered by Google App Engine
This is Rietveld 408576698