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

Issue 99913002: Remove "ScopedHandleBase<H>::operator H() const" (Closed)

Created:
7 years ago by darin (slow to review)
Modified:
7 years ago
Reviewers:
viettrungluu
CC:
chromium-reviews, Aaron Boodman, viettrungluu+watch_chromium.org, ben+mojo_chromium.org, abarth-chromium
Visibility:
Public.

Description

Remove "ScopedHandleBase<H>::operator H() const" Reason: it is too easy to misuse this and end up leaking a handle. R=viettrungluu@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238252

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -52 lines) Patch
M mojo/common/handle_watcher_unittest.cc View 9 chunks +22 lines, -22 lines 0 comments Download
M mojo/common/message_pump_mojo.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M mojo/public/bindings/lib/connector.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M mojo/public/system/core_cpp.h View 1 chunk +0 lines, -1 line 0 comments Download
M mojo/public/tests/system_core_cpp_unittest.cc View 12 chunks +25 lines, -21 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
darin (slow to review)
7 years ago (2013-12-02 19:28:55 UTC) #1
viettrungluu
lgtm
7 years ago (2013-12-03 00:48:12 UTC) #2
darin (slow to review)
7 years ago (2013-12-03 00:54:07 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r238252 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698