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

Unified Diff: Source/platform/image-decoders/FastSharedBufferReader.h

Issue 1011113003: Fix potential bug in FastSharedBufferReader::getConsecutiveData (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: back to v6 plus define Created 5 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 | « Source/platform/SharedBuffer.cpp ('k') | Source/platform/image-decoders/FastSharedBufferReader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/image-decoders/FastSharedBufferReader.h
diff --git a/Source/platform/image-decoders/FastSharedBufferReader.h b/Source/platform/image-decoders/FastSharedBufferReader.h
index 1add43037db0de7d83767a74ac8eb40fcea09ce9..254476b435615daeabbfc07fce8ded953dd8729d 100644
--- a/Source/platform/image-decoders/FastSharedBufferReader.h
+++ b/Source/platform/image-decoders/FastSharedBufferReader.h
@@ -70,6 +70,8 @@ public:
}
private:
+ void getSomeDataInternal(unsigned dataPosition);
+
RefPtr<SharedBuffer> m_data;
// Caches the last segment of |m_data| accessed, since subsequent reads are
@@ -77,7 +79,7 @@ private:
const char* m_segment;
size_t m_segmentLength;
- // Data position in |m_data| pointed by |m_segment|.
+ // Data position in |m_data| pointed to by |m_segment|.
size_t m_dataPosition;
};
« no previous file with comments | « Source/platform/SharedBuffer.cpp ('k') | Source/platform/image-decoders/FastSharedBufferReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698