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

Unified Diff: base/pe_image.cc

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 | « base/pe_image.h ('k') | sandbox/sandbox.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/pe_image.cc
diff --git a/base/pe_image.cc b/base/pe_image.cc
index 79afcf80d5815fb065a01e0486ebc533a68b519a..33fa20ca2d78a68428a0d00fba87cff2e6dfc2d2 100644
--- a/base/pe_image.cc
+++ b/base/pe_image.cc
@@ -521,14 +521,14 @@ bool PEImage::ImageAddrToOnDiskOffset(LPVOID address,
return true;
}
-PVOID PEImage::RVAToAddr(DWORD_PTR rva) const {
+PVOID PEImage::RVAToAddr(DWORD rva) const {
if (rva == 0)
return NULL;
return reinterpret_cast<char*>(module_) + rva;
}
-PVOID PEImageAsData::RVAToAddr(DWORD_PTR rva) const {
+PVOID PEImageAsData::RVAToAddr(DWORD rva) const {
if (rva == 0)
return NULL;
« no previous file with comments | « base/pe_image.h ('k') | sandbox/sandbox.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698