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

Unified Diff: courgette/image_info.h

Issue 113917: When iterating over the sections in a file, omit sections that have no raw da... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | courgette/image_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/image_info.h
===================================================================
--- courgette/image_info.h (revision 17002)
+++ courgette/image_info.h (working copy)
@@ -119,7 +119,8 @@
return start_ + offset;
}
- // Finds the first section at file_offset or above.
+ // Finds the first section at file_offset or above. Does not return sections
+ // that have no raw bytes in the file.
const Section* FindNextSection(uint32 file_offset) const;
// Returns Section containing the relative virtual address, or NULL if none.
const Section* RVAToSection(RVA rva) const;
« no previous file with comments | « no previous file | courgette/image_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698