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

Unified Diff: base/pe_image.h

Issue 179039: Fix issue 8348: unfork pe_image.h / pe_image.cc (Closed)
Patch Set: Removed unittest file and entries in .gyp file, restored #error message Created 11 years, 3 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 | base/pe_image.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/pe_image.h
diff --git a/base/pe_image.h b/base/pe_image.h
index f2a929d65bc18da2a841d094e281dd37a9c57376..f2461d3e1d7c28666b62e1a503b9c816ce2ca134 100644
--- a/base/pe_image.h
+++ b/base/pe_image.h
@@ -205,7 +205,7 @@ class PEImage {
bool VerifyMagic() const;
// Converts an rva value to the appropriate address.
- virtual PVOID RVAToAddr(DWORD_PTR rva) const;
+ virtual PVOID RVAToAddr(DWORD rva) const;
// Converts an rva value to an offset on disk.
// Returns true on success.
@@ -225,7 +225,7 @@ class PEImageAsData : public PEImage {
public:
explicit PEImageAsData(HMODULE hModule) : PEImage(hModule) {}
- virtual PVOID RVAToAddr(DWORD_PTR rva) const;
+ virtual PVOID RVAToAddr(DWORD rva) const;
};
inline bool PEImage::IsOrdinal(LPCSTR name) {
« no previous file with comments | « no previous file | base/pe_image.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698