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

Unified Diff: snapshot/win/pe_image_reader.cc

Issue 1473073008: Build fixes for Clang on Windows (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad.git@master
Patch Set: curlies Created 5 years, 1 month 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 | snapshot/win/process_snapshot_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: snapshot/win/pe_image_reader.cc
diff --git a/snapshot/win/pe_image_reader.cc b/snapshot/win/pe_image_reader.cc
index 82bce0645ad57f82fcf6dc6f69b073660b20f9c1..f408fb18c77de9a5ca15269b6873182d62e6770e 100644
--- a/snapshot/win/pe_image_reader.cc
+++ b/snapshot/win/pe_image_reader.cc
@@ -86,8 +86,10 @@ bool PEImageReader::GetCrashpadInfo(
INITIALIZATION_STATE_DCHECK_VALID(initialized_);
IMAGE_SECTION_HEADER section;
- if (!GetSectionByName<NtHeadersForTraits<Traits>::type>("CPADinfo", &section))
+ if (!GetSectionByName<typename NtHeadersForTraits<Traits>::type>("CPADinfo",
+ &section)) {
return false;
+ }
if (section.Misc.VirtualSize < sizeof(process_types::CrashpadInfo<Traits>)) {
LOG(WARNING) << "small crashpad info section size "
« no previous file with comments | « no previous file | snapshot/win/process_snapshot_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698