The leaky DC check should use adoptPtr as a signal instead of OwnPtr to get less...
authorlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 Jan 2012 03:32:29 +0000 (03:32 +0000)
committerlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 Jan 2012 03:32:29 +0000 (03:32 +0000)
commit48e2a252e3b74983dfbaadbc3fbfd958cf4bb06b
tree975bc2bd543cabe8dec2a0e6aac50520c62cb557
parent13d7ae5544d094d04939c87dc29ab27f3f43f3ce
The leaky DC check should use adoptPtr as a signal instead of OwnPtr to get less false positives.
https://bugs.webkit.org/show_bug.cgi?id=76752

Reviewed by Eric Seidel.

* Scripts/webkitpy/style/checkers/cpp.py:
(check_for_leaky_patterns):
* Scripts/webkitpy/style/checkers/cpp_unittest.py:
(LeakyPatternTest.test_create_dc):
(LeakyPatternTest.test_create_compatible_dc):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@105567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/style/checkers/cpp.py
Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py