Commit f6547c4c authored by Vlad Tsyrklevich's avatar Vlad Tsyrklevich Committed by Commit Bot

Fix misc lints found by git cl lint

Change-Id: I67eb6e51a30747d6d58dd725003769aaf3b3632e
Reviewed-on: https://chromium-review.googlesource.com/c/1455468
Auto-Submit: Vlad Tsyrklevich <vtsyrklevich@chromium.org>
Commit-Queue: Vitaly Buka <vitalybuka@chromium.org>
Reviewed-by: default avatarVitaly Buka <vitalybuka@chromium.org>
Cr-Commit-Position: refs/heads/master@{#630573}
parent fba16e92
...@@ -128,12 +128,12 @@ class GWP_ASAN_EXPORT GuardedPageAllocator { ...@@ -128,12 +128,12 @@ class GWP_ASAN_EXPORT GuardedPageAllocator {
// Required for a singleton to access the constructor. // Required for a singleton to access the constructor.
friend base::NoDestructor<GuardedPageAllocator>; friend base::NoDestructor<GuardedPageAllocator>;
DISALLOW_COPY_AND_ASSIGN(GuardedPageAllocator);
friend class GuardedPageAllocatorTest; friend class GuardedPageAllocatorTest;
FRIEND_TEST_ALL_PREFIXES(GuardedPageAllocatorTest, FRIEND_TEST_ALL_PREFIXES(GuardedPageAllocatorTest,
GetNearestValidPageEdgeCases); GetNearestValidPageEdgeCases);
FRIEND_TEST_ALL_PREFIXES(GuardedPageAllocatorTest, GetErrorTypeEdgeCases); FRIEND_TEST_ALL_PREFIXES(GuardedPageAllocatorTest, GetErrorTypeEdgeCases);
DISALLOW_COPY_AND_ASSIGN(GuardedPageAllocator);
}; };
} // namespace internal } // namespace internal
......
...@@ -25,7 +25,7 @@ using GwpAsanCrashAnalysisResult = CrashAnalyzer::GwpAsanCrashAnalysisResult; ...@@ -25,7 +25,7 @@ using GwpAsanCrashAnalysisResult = CrashAnalyzer::GwpAsanCrashAnalysisResult;
class BufferExtensionStreamDataSource final class BufferExtensionStreamDataSource final
: public crashpad::MinidumpUserExtensionStreamDataSource { : public crashpad::MinidumpUserExtensionStreamDataSource {
public: public:
BufferExtensionStreamDataSource(uint32_t stream_type, Crash& crash); BufferExtensionStreamDataSource(uint32_t stream_type, const Crash& crash);
size_t StreamDataSize() override; size_t StreamDataSize() override;
bool ReadStreamData(Delegate* delegate) override; bool ReadStreamData(Delegate* delegate) override;
...@@ -38,7 +38,7 @@ class BufferExtensionStreamDataSource final ...@@ -38,7 +38,7 @@ class BufferExtensionStreamDataSource final
BufferExtensionStreamDataSource::BufferExtensionStreamDataSource( BufferExtensionStreamDataSource::BufferExtensionStreamDataSource(
uint32_t stream_type, uint32_t stream_type,
Crash& crash) const Crash& crash)
: crashpad::MinidumpUserExtensionStreamDataSource(stream_type) { : crashpad::MinidumpUserExtensionStreamDataSource(stream_type) {
bool result = crash.SerializeToString(&data_); bool result = crash.SerializeToString(&data_);
DCHECK(result); DCHECK(result);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment