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

Unified Diff: sandbox/win/src/handle_table.cc

Issue 1106203002: sandbox/win: Fix warnings found by clang chromium-style plugin on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « sandbox/win/src/handle_table.h ('k') | sandbox/win/src/policy_low_level.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/handle_table.cc
diff --git a/sandbox/win/src/handle_table.cc b/sandbox/win/src/handle_table.cc
index 5575dc0fea6ff260cadcbf0903722b446a2740a2..5ebcf99460b543d016673ddf024b918ecd9431ed 100644
--- a/sandbox/win/src/handle_table.cc
+++ b/sandbox/win/src/handle_table.cc
@@ -64,6 +64,9 @@ HandleTable::HandleTable() {
handle_info_internal()->NumberOfHandles, CompareHandleEntries);
}
+HandleTable::~HandleTable() {
+}
+
HandleTable::Iterator HandleTable::HandlesForProcess(ULONG process_id) const {
SYSTEM_HANDLE_INFORMATION key;
key.ProcessId = static_cast<USHORT>(process_id);
@@ -84,6 +87,9 @@ HandleTable::HandleEntry::HandleEntry(
: handle_entry_(handle_info_entry), last_entry_(0) {
}
+HandleTable::HandleEntry::~HandleEntry() {
+}
+
void HandleTable::HandleEntry::UpdateInfo(UpdateType flag) {
static NtQueryObject QueryObject = NULL;
if (!QueryObject)
« no previous file with comments | « sandbox/win/src/handle_table.h ('k') | sandbox/win/src/policy_low_level.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698