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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/FastSharedBufferReader.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/image-decoders/FastSharedBufferReader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/image-decoders/FastSharedBufferReader.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/FastSharedBufferReader.h b/third_party/WebKit/Source/platform/image-decoders/FastSharedBufferReader.h
index a078ee5d1ca0580cff1d59c94f08f7269d61957e..b257e1bd57839544bf1afe320bf33f2cd4b33416 100644
--- a/third_party/WebKit/Source/platform/image-decoders/FastSharedBufferReader.h
+++ b/third_party/WebKit/Source/platform/image-decoders/FastSharedBufferReader.h
@@ -54,20 +54,20 @@ class PLATFORM_EXPORT FastSharedBufferReader final {
void SetData(PassRefPtr<SegmentReader>);
// Returns a consecutive buffer that carries the data starting
- // at |dataPosition| with |length| bytes.
+ // at |data_position| with |length| bytes.
// This method returns a pointer to a memory segment stored in
- // |m_data| if such a consecutive buffer can be found.
+ // |data_| if such a consecutive buffer can be found.
// Otherwise copies into |buffer| and returns it.
- // Caller must ensure there are enough bytes in |m_data| and |buffer|.
+ // Caller must ensure there are enough bytes in |data_| and |buffer|.
const char* GetConsecutiveData(size_t data_position,
size_t length,
char* buffer) const;
- // Wraps SegmentReader::getSomeData().
+ // Wraps SegmentReader::GetSomeData().
size_t GetSomeData(const char*& some_data, size_t data_position) const;
- // Returns a byte at |dataPosition|.
- // Caller must ensure there are enough bytes in |m_data|.
+ // Returns a byte at |data_position|.
+ // Caller must ensure there are enough bytes in |data_|.
inline char GetOneByte(size_t data_position) const {
return *GetConsecutiveData(data_position, 1, 0);
}
@@ -76,7 +76,7 @@ class PLATFORM_EXPORT FastSharedBufferReader final {
// This class caches the last access for faster subsequent reads. This
// method clears that cache in case the SegmentReader has been modified
- // (e.g. with mergeSegmentsIntoBuffer on a wrapped SharedBuffer).
+ // (e.g. with MergeSegmentsIntoBuffer on a wrapped SharedBuffer).
void ClearCache();
private:
@@ -84,12 +84,12 @@ class PLATFORM_EXPORT FastSharedBufferReader final {
RefPtr<SegmentReader> data_;
- // Caches the last segment of |m_data| accessed, since subsequent reads are
+ // Caches the last segment of |data_| accessed, since subsequent reads are
// likely to re-access it.
mutable const char* segment_;
mutable size_t segment_length_;
- // Data position in |m_data| pointed to by |m_segment|.
+ // Data position in |data_| pointed to by |segment_|.
mutable size_t data_position_;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/image-decoders/FastSharedBufferReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698