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

Issue 2041263002: Remove the use of OwnedPtrDeleter in WebHelperPlugin. (Closed)

Created:
4 years, 6 months ago by Yuta Kitamura
Modified:
4 years, 6 months ago
Reviewers:
*dcheng, *tzik
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, dglazkov+blink, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove the use of OwnedPtrDeleter in WebHelperPlugin. It's hard to mechanically replace specializations of OwnedPtrDeleter<T> to std::unique_ptr equivalents. Therefore, they are converted to std::unique_ptr manually. A new typedef WebHelperPluginUniquePtr is created so people can always use std::unique_ptr with a correct deleter. BUG=617504 Committed: https://crrev.com/fb9b91321850375af904a3f9fc017ee18a9d32b3 Cr-Commit-Position: refs/heads/master@{#398508}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Experimentally remove destruction timer. #

Patch Set 3 : Revert to PS1. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -14 lines) Patch
M third_party/WebKit/Source/web/WebHelperPluginImpl.cpp View 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebHelperPluginTest.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/public/web/WebHelperPlugin.h View 2 chunks +11 lines, -8 lines 0 comments Download

Messages

Total messages: 33 (14 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041263002/1
4 years, 6 months ago (2016-06-07 06:07:36 UTC) #2
Yuta Kitamura
tzik & dcheng: PTAL? dcheng: Also review as an OWNER of web/.
4 years, 6 months ago (2016-06-07 06:39:44 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/202064)
4 years, 6 months ago (2016-06-07 06:39:47 UTC) #7
tzik
https://codereview.chromium.org/2041263002/diff/1/third_party/WebKit/Source/web/WebHelperPluginImpl.cpp File third_party/WebKit/Source/web/WebHelperPluginImpl.cpp (right): https://codereview.chromium.org/2041263002/diff/1/third_party/WebKit/Source/web/WebHelperPluginImpl.cpp#newcode44 third_party/WebKit/Source/web/WebHelperPluginImpl.cpp:44: WebHelperPlugin* WebHelperPlugin::create(const WebString& pluginType, WebLocalFrame* frame) Does our policy ...
4 years, 6 months ago (2016-06-07 06:57:18 UTC) #8
Yuta Kitamura
https://codereview.chromium.org/2041263002/diff/1/third_party/WebKit/Source/web/WebHelperPluginImpl.cpp File third_party/WebKit/Source/web/WebHelperPluginImpl.cpp (right): https://codereview.chromium.org/2041263002/diff/1/third_party/WebKit/Source/web/WebHelperPluginImpl.cpp#newcode44 third_party/WebKit/Source/web/WebHelperPluginImpl.cpp:44: WebHelperPlugin* WebHelperPlugin::create(const WebString& pluginType, WebLocalFrame* frame) On 2016/06/07 06:57:18, ...
4 years, 6 months ago (2016-06-07 07:21:03 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041263002/1
4 years, 6 months ago (2016-06-07 07:35:20 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-07 10:04:30 UTC) #13
dcheng
https://codereview.chromium.org/2041263002/diff/1/third_party/WebKit/Source/web/WebHelperPluginImpl.cpp File third_party/WebKit/Source/web/WebHelperPluginImpl.cpp (right): https://codereview.chromium.org/2041263002/diff/1/third_party/WebKit/Source/web/WebHelperPluginImpl.cpp#newcode44 third_party/WebKit/Source/web/WebHelperPluginImpl.cpp:44: WebHelperPlugin* WebHelperPlugin::create(const WebString& pluginType, WebLocalFrame* frame) On 2016/06/07 at ...
4 years, 6 months ago (2016-06-07 17:10:32 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041263002/20001
4 years, 6 months ago (2016-06-08 03:18:43 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/226287)
4 years, 6 months ago (2016-06-08 04:21:52 UTC) #18
Yuta Kitamura
Apparently, removing the destruction timer causes two browser_tests failures: ECKEncryptedMediaTest.CDMCrashDuringDecode ECKEncryptedMediaTest.CDMExpectedCrash So it could be ...
4 years, 6 months ago (2016-06-08 04:23:51 UTC) #19
dcheng
PS1 LGTM. We can figure out how to clean this up (and what we want ...
4 years, 6 months ago (2016-06-08 04:25:08 UTC) #20
Yuta Kitamura
tzik: How about you? (re: landing PS1)
4 years, 6 months ago (2016-06-08 05:48:18 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041263002/40001
4 years, 6 months ago (2016-06-08 07:16:41 UTC) #23
tzik
lgtm
4 years, 6 months ago (2016-06-08 07:32:31 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-08 09:31:35 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041263002/40001
4 years, 6 months ago (2016-06-08 09:32:35 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-08 09:36:21 UTC) #30
commit-bot: I haz the power
4 years, 6 months ago (2016-06-08 09:37:33 UTC) #32
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fb9b91321850375af904a3f9fc017ee18a9d32b3
Cr-Commit-Position: refs/heads/master@{#398508}

Powered by Google App Engine
This is Rietveld 408576698